summaryrefslogtreecommitdiffstats
path: root/drivers/net/declance.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-10 14:51:11 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-10-18 18:03:48 -0400
commit4569504a36cb6223e2b7ad6530326a1563a8f456 (patch)
treec4693f214012ce7a810a4f82c36d04557af3c2af /drivers/net/declance.c
parent6684b4e28247f31543edf86ba785aa87e8fa3b39 (diff)
downloadop-kernel-dev-4569504a36cb6223e2b7ad6530326a1563a8f456.zip
op-kernel-dev-4569504a36cb6223e2b7ad6530326a1563a8f456.tar.gz
[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 3af7834..b47e3cf 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;
OpenPOWER on IntegriCloud