Skip to content

Commit

Permalink
[PATCH] declance: Deal with the bloody KSEG vs CKSEG horror...
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <[email protected]>

 drivers/net/declance.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Jeff Garzik <[email protected]>
  • Loading branch information
ralfbaechle authored and jgarzik committed Oct 18, 2005
1 parent 6684b4e commit 4569504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/declance.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4569504

Please sign in to comment.