Commit 51851073 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by David S. Miller

e1000: use netif_tx_disable

we can use netif_tx_disable now because LLTX has been removed.
Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarDon Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 282b1777
......@@ -485,8 +485,7 @@ void e1000_down(struct e1000_adapter *adapter)
ew32(RCTL, rctl & ~E1000_RCTL_EN);
/* flush and sleep below */
/* can be netif_tx_disable when NETIF_F_LLTX is removed */
netif_stop_queue(netdev);
netif_tx_disable(netdev);
/* disable transmits in the hardware */
tctl = er32(TCTL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment