diff options
Diffstat (limited to 'drivers/net/atlx/atl2.c')
-rw-r--r-- | drivers/net/atlx/atl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index b8d585722e1a..0326a84503e3 100644 --- a/drivers/net/atlx/atl2.c +++ b/drivers/net/atlx/atl2.c | |||
@@ -1315,6 +1315,7 @@ static void atl2_poll_controller(struct net_device *netdev) | |||
1315 | static const struct net_device_ops atl2_netdev_ops = { | 1315 | static const struct net_device_ops atl2_netdev_ops = { |
1316 | .ndo_open = atl2_open, | 1316 | .ndo_open = atl2_open, |
1317 | .ndo_stop = atl2_close, | 1317 | .ndo_stop = atl2_close, |
1318 | .ndo_start_xmit = atl2_xmit_frame, | ||
1318 | .ndo_set_multicast_list = atl2_set_multi, | 1319 | .ndo_set_multicast_list = atl2_set_multi, |
1319 | .ndo_validate_addr = eth_validate_addr, | 1320 | .ndo_validate_addr = eth_validate_addr, |
1320 | .ndo_set_mac_address = atl2_set_mac, | 1321 | .ndo_set_mac_address = atl2_set_mac, |
@@ -1400,7 +1401,6 @@ static int __devinit atl2_probe(struct pci_dev *pdev, | |||
1400 | 1401 | ||
1401 | atl2_setup_pcicmd(pdev); | 1402 | atl2_setup_pcicmd(pdev); |
1402 | 1403 | ||
1403 | netdev->hard_start_xmit = &atl2_xmit_frame; | ||
1404 | netdev->netdev_ops = &atl2_netdev_ops; | 1404 | netdev->netdev_ops = &atl2_netdev_ops; |
1405 | atl2_set_ethtool_ops(netdev); | 1405 | atl2_set_ethtool_ops(netdev); |
1406 | netdev->watchdog_timeo = 5 * HZ; | 1406 | netdev->watchdog_timeo = 5 * HZ; |