david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[natsemi] Convert stray mmio readl() to pio inl()

This driver uses programmed I/O to access hardware registers.  There is
a stray memory-mapped I/O read on a programmed I/O address.  Perhaps
this is an artifact of porting the driver.  Fix this by converting it to
programmed I/O.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
Stefan Hajnoczi 2010-01-25 08:28:37 +00:00 committed by Marty Connor
parent 112a3f2de2
commit e51ef7912c
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,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++) {