Переглянути джерело

[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>
Ralf Baechle 20 роки тому
батько
коміт
4569504a36
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      drivers/net/declance.c

+ 1 - 1
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;