summaryrefslogtreecommitdiffstats
path: root/drivers/net/ne2k-pci.c
diff options
context:
space:
mode:
authorKomuro <komurojun-mbn@nifty.com>2005-10-28 22:55:55 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-10-28 22:55:55 +0200
commit4f075707a9380592586d608a8d04dfbdb3c40339 (patch)
treea18032b80383ba651236b7000028e2e1022ff0a2 /drivers/net/ne2k-pci.c
parentdrivers/net: Remove pointless checks for NULL prior to calling kfree() (diff)
downloadlinux-4f075707a9380592586d608a8d04dfbdb3c40339.tar.xz
linux-4f075707a9380592586d608a8d04dfbdb3c40339.zip
[netdrvr] ne2k-pci based card does not support bus-mastering.
pci_set_master is unnecessary. Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ne2k-pci.c')
-rw-r--r--drivers/net/ne2k-pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c
index e531a4eedfee..d11821dd86ed 100644
--- a/drivers/net/ne2k-pci.c
+++ b/drivers/net/ne2k-pci.c
@@ -675,7 +675,6 @@ static int ne2k_pci_resume (struct pci_dev *pdev)
pci_set_power_state(pdev, 0);
pci_restore_state(pdev);
pci_enable_device(pdev);
- pci_set_master(pdev);
NS8390_init(dev, 1);
netif_device_attach(dev);