patch-2.3.47 linux/drivers/net/sis900.c
Next file: linux/drivers/net/sk98lin/skge.c
Previous file: linux/drivers/net/rtl8129.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Feb 17 09:18:47 2000
- Orig file:
v2.3.46/linux/drivers/net/sis900.c
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.46/linux/drivers/net/sis900.c linux/drivers/net/sis900.c
@@ -1066,7 +1066,7 @@
sis_priv->tx_ring[entry].cmdsts = 0;
}
- if (sis_priv->tx_full && test_bit(LINK_STATE_XOFF, &net_dev->flags) &&
+ if (sis_priv->tx_full && netif_queue_stopped(net_dev) &&
sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) {
/* The ring is no longer full, clear tx_full and schedule more transmission
by netif_wake_queue(net_dev) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)