aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-10 09:51:11 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-18 18:03:48 -0400
commit4569504a36cb6223e2b7ad6530326a1563a8f456 (patch)
treec4693f214012ce7a810a4f82c36d04557af3c2af
parent6684b4e28247f31543edf86ba785aa87e8fa3b39 (diff)
[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>
-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)
1069 /* 1069 /*
1070 * FIXME: ugly hack! 1070 * FIXME: ugly hack!
1071 */ 1071 */
1072 dev->mem_start = KSEG1ADDR(0x00020000); 1072 dev->mem_start = CKSEG1ADDR(0x00020000);
1073 dev->mem_end = dev->mem_start + 0x00020000; 1073 dev->mem_end = dev->mem_start + 0x00020000;
1074 dev->irq = dec_interrupt[DEC_IRQ_LANCE]; 1074 dev->irq = dec_interrupt[DEC_IRQ_LANCE];
1075 esar_base = system_base + IOASIC_ESAR; 1075 esar_base = system_base + IOASIC_ESAR;