diff options
Diffstat (limited to 'drivers/net/ixgb/ixgb_main.c')
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index 3ca9daa70b38..a04e3892ddf4 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -324,6 +324,7 @@ ixgb_reset(struct ixgb_adapter *adapter) | |||
324 | static const struct net_device_ops ixgb_netdev_ops = { | 324 | static const struct net_device_ops ixgb_netdev_ops = { |
325 | .ndo_open = ixgb_open, | 325 | .ndo_open = ixgb_open, |
326 | .ndo_stop = ixgb_close, | 326 | .ndo_stop = ixgb_close, |
327 | .ndo_start_xmit = ixgb_xmit_frame, | ||
327 | .ndo_get_stats = ixgb_get_stats, | 328 | .ndo_get_stats = ixgb_get_stats, |
328 | .ndo_set_multicast_list = ixgb_set_multi, | 329 | .ndo_set_multicast_list = ixgb_set_multi, |
329 | .ndo_validate_addr = eth_validate_addr, | 330 | .ndo_validate_addr = eth_validate_addr, |
@@ -414,7 +415,6 @@ ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
414 | } | 415 | } |
415 | 416 | ||
416 | netdev->netdev_ops = &ixgb_netdev_ops; | 417 | netdev->netdev_ops = &ixgb_netdev_ops; |
417 | netdev->hard_start_xmit = &ixgb_xmit_frame; | ||
418 | ixgb_set_ethtool_ops(netdev); | 418 | ixgb_set_ethtool_ops(netdev); |
419 | netdev->watchdog_timeo = 5 * HZ; | 419 | netdev->watchdog_timeo = 5 * HZ; |
420 | netif_napi_add(netdev, &adapter->napi, ixgb_clean, 64); | 420 | netif_napi_add(netdev, &adapter->napi, ixgb_clean, 64); |