patch-2.4.0-test3 linux/drivers/net/eepro100.c
Next file: linux/drivers/net/epic100.c
Previous file: linux/drivers/net/eepro.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Jun 29 16:31:13 2000
- Orig file:
v2.4.0-test2/linux/drivers/net/eepro100.c
- Orig date:
Fri Jun 23 21:55:09 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/net/eepro100.c linux/drivers/net/eepro100.c
@@ -1145,16 +1145,11 @@
/* We must continue to monitor the media. */
sp->timer.expires = RUN_AT(2*HZ); /* 2.0 sec. */
add_timer(&sp->timer);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,43)
- timer_exit(&sp->timer);
-#endif /* LINUX_VERSION_CODE */
}
static void speedo_show_state(struct net_device *dev)
{
struct speedo_private *sp = (struct speedo_private *)dev->priv;
- long ioaddr = dev->base_addr;
- int phy_num = sp->phy[0] & 0x1f;
int i;
/* Print a few items for debugging. */
@@ -1181,6 +1176,8 @@
(unsigned)sp->rx_ringp[i]->status : 0);
#if 0
+ long ioaddr = dev->base_addr;
+ int phy_num = sp->phy[0] & 0x1f;
for (i = 0; i < 16; i++) {
/* FIXME: what does it mean? --SAW */
if (i == 6) i = 21;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)