summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/tulip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/tulip.c')
-rw-r--r--src/drivers/net/tulip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/net/tulip.c b/src/drivers/net/tulip.c
index 53cfb85f..afd7d45b 100644
--- a/src/drivers/net/tulip.c
+++ b/src/drivers/net/tulip.c
@@ -1201,7 +1201,7 @@ static void tulip_disable ( struct nic *nic ) {
outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6);
/* Clear the missed-packet counter. */
- (volatile unsigned long)inl(ioaddr + CSR8);
+ inl(ioaddr + CSR8);
}
/*********************************************************************/
@@ -1265,7 +1265,7 @@ static int tulip_probe ( struct nic *nic, struct pci_device *pci ) {
outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6);
/* Clear the missed-packet counter. */
- (volatile unsigned long)inl(ioaddr + CSR8);
+ inl(ioaddr + CSR8);
printf("\n"); /* so we start on a fresh line */
#ifdef TULIP_DEBUG_WHERE