|
@@ -1179,9 +1179,9 @@ rhine_disable ( struct nic *nic ) {
|
1179
|
1179
|
|
1180
|
1180
|
printf ("rhine disable\n");
|
1181
|
1181
|
/* Switch to loopback mode to avoid hardware races. */
|
1182
|
|
- writeb(0x60 | 0x01, byTCR);
|
|
1182
|
+ outb(0x60 | 0x01, byTCR);
|
1183
|
1183
|
/* Stop the chip's Tx and Rx processes. */
|
1184
|
|
- writew(CR_STOP, byCR0);
|
|
1184
|
+ outw(CR_STOP, byCR0);
|
1185
|
1185
|
}
|
1186
|
1186
|
|
1187
|
1187
|
/**************************************************************************
|
|
@@ -1279,7 +1279,7 @@ rhine_reset (struct nic *nic)
|
1279
|
1279
|
outw (0, byIMR0);
|
1280
|
1280
|
}
|
1281
|
1281
|
/* Beware of PCI posted writes */
|
1282
|
|
-#define IOSYNC do { readb(nic->ioaddr + StationAddr); } while (0)
|
|
1282
|
+#define IOSYNC do { inb(nic->ioaddr + StationAddr); } while (0)
|
1283
|
1283
|
|
1284
|
1284
|
static int
|
1285
|
1285
|
rhine_poll (struct nic *nic, int retreive)
|