[Etherboot-developers] [PATCH] natsemi.c readl() should be inl()
Brought to you by:
marty_connor,
stefanhajnoczi
From: Stefan H. <ste...@gm...> - 2008-06-24 11:15:52
|
This readl() should be a inl() in src/drivers/net/natsemi.c. I do not have the hardware and have not been able to test. Stefan diff --git a/src/drivers/net/natsemi.c b/src/drivers/net/natsemi.c index 028b905..33abe0a 100644 --- a/src/drivers/net/natsemi.c +++ b/src/drivers/net/natsemi.c @@ -267,7 +267,7 @@ static void natsemi_reset (struct net_device *netdev) wcsr = inl (np->ioaddr + WOLCmd) & WCSR_RESET_SAVE; /* RFCR */ - rfcr = readl (np->ioaddr + RxFilterAddr) & RFCR_RESET_SAVE; + rfcr = inl (np->ioaddr + RxFilterAddr) & RFCR_RESET_SAVE; /* PMATCH */ for (i = 0; i < 3; i++) { |