summaryrefslogtreecommitdiffstats
path: root/drivers/net/declance.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-10 15:51:11 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-10-19 00:03:48 +0200
commit4569504a36cb6223e2b7ad6530326a1563a8f456 (patch)
treec4693f214012ce7a810a4f82c36d04557af3c2af /drivers/net/declance.c
parent[PATCH] declance: Fix mapping of device. (diff)
downloadlinux-4569504a36cb6223e2b7ad6530326a1563a8f456.tar.xz
linux-4569504a36cb6223e2b7ad6530326a1563a8f456.zip
[PATCH] declance: Deal with the bloody KSEG vs CKSEG horror...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> drivers/net/declance.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/declance.c')
-rw-r--r--drivers/net/declance.c2
1 files changed, 1 insertions, 1 deletions
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;