patch-2.3.47 linux/drivers/net/a2065.c
Next file: linux/drivers/net/acenic.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Feb 17 09:18:47 2000
- Orig file:
v2.3.46/linux/drivers/net/a2065.c
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.46/linux/drivers/net/a2065.c linux/drivers/net/a2065.c
@@ -467,8 +467,7 @@
ll->rdp = LE_C0_STRT;
}
- if (test_bit(LINK_STATE_XOFF, &dev->state) &&
- TX_BUFFS_AVAIL > 0)
+ if (netif_queue_stopped(dev) && TX_BUFFS_AVAIL > 0)
netif_wake_queue(dev);
ll->rap = LE_CSR0;
@@ -687,7 +686,7 @@
volatile struct lance_init_block *ib = lp->init_block;
volatile struct lance_regs *ll = lp->ll;
- if (!test_bit(LINK_STATE_START, &dev->state))
+ if (!netif_running(dev))
return;
if (lp->tx_old != lp->tx_new) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)