Commit 4569504a authored by Ralf Baechle's avatar Ralf Baechle Committed by Jeff Garzik

[PATCH] declance: Deal with the bloody KSEG vs CKSEG horror...

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>

 drivers/net/declance.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 6684b4e2
...@@ -1069,7 +1069,7 @@ static int __init dec_lance_init(const int type, const int slot) ...@@ -1069,7 +1069,7 @@ static int __init dec_lance_init(const int type, const int slot)
/* /*
* FIXME: ugly hack! * FIXME: ugly hack!
*/ */
dev->mem_start = KSEG1ADDR(0x00020000); dev->mem_start = CKSEG1ADDR(0x00020000);
dev->mem_end = dev->mem_start + 0x00020000; dev->mem_end = dev->mem_start + 0x00020000;
dev->irq = dec_interrupt[DEC_IRQ_LANCE]; dev->irq = dec_interrupt[DEC_IRQ_LANCE];
esar_base = system_base + IOASIC_ESAR; esar_base = system_base + IOASIC_ESAR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment