aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/drivers/net
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-13 16:20:05 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-13 16:20:05 -0700
commit958ddda00522f768bf9adc86c0d5b446e0a672cf (patch)
treed03715b7cbd8580f90ebb231fcc987137776b3f7 /gpxe/src/drivers/net
parent0095d560ef91676d3a07db560f58ca83d85bff95 (diff)
downloadsyslinux.git-958ddda00522f768bf9adc86c0d5b446e0a672cf.tar.gz
syslinux.git-958ddda00522f768bf9adc86c0d5b446e0a672cf.tar.xz
syslinux.git-958ddda00522f768bf9adc86c0d5b446e0a672cf.zip
gpxe: update gpxe to latest git
Diffstat (limited to 'gpxe/src/drivers/net')
-rw-r--r--gpxe/src/drivers/net/via-rhine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpxe/src/drivers/net/via-rhine.c b/gpxe/src/drivers/net/via-rhine.c
index 81350091..fb43a924 100644
--- a/gpxe/src/drivers/net/via-rhine.c
+++ b/gpxe/src/drivers/net/via-rhine.c
@@ -1179,9 +1179,9 @@ rhine_disable ( struct nic *nic ) {
printf ("rhine disable\n");
/* Switch to loopback mode to avoid hardware races. */
- writeb(0x60 | 0x01, byTCR);
+ outb(0x60 | 0x01, byTCR);
/* Stop the chip's Tx and Rx processes. */
- writew(CR_STOP, byCR0);
+ outw(CR_STOP, byCR0);
}
/**************************************************************************
@@ -1279,7 +1279,7 @@ rhine_reset (struct nic *nic)
outw (0, byIMR0);
}
/* Beware of PCI posted writes */
-#define IOSYNC do { readb(nic->ioaddr + StationAddr); } while (0)
+#define IOSYNC do { inb(nic->ioaddr + StationAddr); } while (0)
static int
rhine_poll (struct nic *nic, int retreive)