From: Ralf Baechle Date: Mon, 10 Oct 2005 13:51:11 +0000 (+0100) Subject: [PATCH] declance: Deal with the bloody KSEG vs CKSEG horror... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4569504a36cb6223e2b7ad6530326a1563a8f456;p=openwrt%2Fstaging%2Fblogic.git [PATCH] declance: Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle drivers/net/declance.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/declance.c b/drivers/net/declance.c index 3af78340d963..b47e3cf16516 100644 --- a/drivers/net/declance.c +++ b/drivers/net/declance.c @@ -1069,7 +1069,7 @@ static int __init dec_lance_init(const int type, const int slot) /* * FIXME: ugly hack! */ - dev->mem_start = KSEG1ADDR(0x00020000); + dev->mem_start = CKSEG1ADDR(0x00020000); dev->mem_end = dev->mem_start + 0x00020000; dev->irq = dec_interrupt[DEC_IRQ_LANCE]; esar_base = system_base + IOASIC_ESAR;