diff options
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index d7df00c2dbd6..b3063e60be6e 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -125,7 +125,8 @@ static void e1000_set_rx_mode(struct net_device *netdev); | |||
125 | static void e1000_update_phy_info(unsigned long data); | 125 | static void e1000_update_phy_info(unsigned long data); |
126 | static void e1000_watchdog(unsigned long data); | 126 | static void e1000_watchdog(unsigned long data); |
127 | static void e1000_82547_tx_fifo_stall(unsigned long data); | 127 | static void e1000_82547_tx_fifo_stall(unsigned long data); |
128 | static int e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev); | 128 | static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb, |
129 | struct net_device *netdev); | ||
129 | static struct net_device_stats * e1000_get_stats(struct net_device *netdev); | 130 | static struct net_device_stats * e1000_get_stats(struct net_device *netdev); |
130 | static int e1000_change_mtu(struct net_device *netdev, int new_mtu); | 131 | static int e1000_change_mtu(struct net_device *netdev, int new_mtu); |
131 | static int e1000_set_mac(struct net_device *netdev, void *p); | 132 | static int e1000_set_mac(struct net_device *netdev, void *p); |
@@ -3249,7 +3250,8 @@ static int e1000_maybe_stop_tx(struct net_device *netdev, | |||
3249 | } | 3250 | } |
3250 | 3251 | ||
3251 | #define TXD_USE_COUNT(S, X) (((S) >> (X)) + 1 ) | 3252 | #define TXD_USE_COUNT(S, X) (((S) >> (X)) + 1 ) |
3252 | static int e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev) | 3253 | static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb, |
3254 | struct net_device *netdev) | ||
3253 | { | 3255 | { |
3254 | struct e1000_adapter *adapter = netdev_priv(netdev); | 3256 | struct e1000_adapter *adapter = netdev_priv(netdev); |
3255 | struct e1000_hw *hw = &adapter->hw; | 3257 | struct e1000_hw *hw = &adapter->hw; |