提交 4569504a 编写于 作者: R Ralf Baechle 提交者: Jeff Garzik

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

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

 drivers/net/declance.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 6684b4e2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册