]> err.no Git - linux-2.6/commitdiff
[PATCH] declance: Deal with the bloody KSEG vs CKSEG horror...
authorRalf Baechle <ralf@linux-mips.org>
Mon, 10 Oct 2005 13:51:11 +0000 (14:51 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 18 Oct 2005 22:03:48 +0000 (18:03 -0400)
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>
drivers/net/declance.c

index 3af78340d963c03062606f871570369e607915eb..b47e3cf165164ea04aa08265f668a5a199235088 100644 (file)
@@ -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;