Use dcr_host_t.base in ibm_emac_mal
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 15 Oct 2007 09:34:35 +0000 (19:34 +1000)
committerJeff Garzik <jeff@garzik.org>
Mon, 15 Oct 2007 18:29:49 +0000 (14:29 -0400)
commit0f18e719dc0d36ad91fe94b0b3dd08fdcdd2faa2
treed849b7876a48bd820c73201a5b7d607264ddf801
parent792036952123a0670c7dd6960ca5458cdfd5e4fd
Use dcr_host_t.base in ibm_emac_mal

This requires us to do a sort-of fake dcr_map(), so that base is set
properly. This will be fixed/removed when the device-tree-aware emac driver
is merged.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ibm_emac/ibm_emac_mal.c
drivers/net/ibm_emac/ibm_emac_mal.h