aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/8139too.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/8139too.c
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/8139too.c')
-rw-r--r--drivers/net/8139too.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c
index f5166dccd8df..e3bad8247fd1 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/8139too.c
@@ -992,6 +992,7 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
992 * features 992 * features
993 */ 993 */
994 dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA; 994 dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA;
995 dev->vlan_features = dev->features;
995 996
996 dev->irq = pdev->irq; 997 dev->irq = pdev->irq;
997 998
@@ -1092,10 +1093,11 @@ err_out:
1092static void __devexit rtl8139_remove_one (struct pci_dev *pdev) 1093static void __devexit rtl8139_remove_one (struct pci_dev *pdev)
1093{ 1094{
1094 struct net_device *dev = pci_get_drvdata (pdev); 1095 struct net_device *dev = pci_get_drvdata (pdev);
1096 struct rtl8139_private *tp = netdev_priv(dev);
1095 1097
1096 assert (dev != NULL); 1098 assert (dev != NULL);
1097 1099
1098 flush_scheduled_work(); 1100 cancel_delayed_work_sync(&tp->thread);
1099 1101
1100 unregister_netdev (dev); 1102 unregister_netdev (dev);
1101 1103