]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/8139too.c
netdev: add more functions to netdevice ops
[net-next-2.6.git] / drivers / net / 8139too.c
index f8866552386a2ece2cfdb66d5d5cdb87b5225e3f..445a479db79d4626ef18c1e6f31945ddfc838b2e 100644 (file)
@@ -921,6 +921,7 @@ static const struct net_device_ops rtl8139_netdev_ops = {
        .ndo_stop               = rtl8139_close,
        .ndo_get_stats          = rtl8139_get_stats,
        .ndo_validate_addr      = eth_validate_addr,
+       .ndo_start_xmit         = rtl8139_start_xmit,
        .ndo_set_multicast_list = rtl8139_set_rx_mode,
        .ndo_do_ioctl           = netdev_ioctl,
        .ndo_tx_timeout         = rtl8139_tx_timeout,
@@ -992,7 +993,6 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
        dev->netdev_ops = &rtl8139_netdev_ops;
        dev->ethtool_ops = &rtl8139_ethtool_ops;
        dev->watchdog_timeo = TX_TIMEOUT;
-       dev->hard_start_xmit = rtl8139_start_xmit;
        netif_napi_add(dev, &tp->napi, rtl8139_poll, 64);
 
        /* note: the hardware is not capable of sg/csum/highdma, however