[netdrvr] ne2k-pci based card does not support bus-mastering.
authorKomuro <komurojun-mbn@nifty.com>
Fri, 28 Oct 2005 20:55:55 +0000 (16:55 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 28 Oct 2005 20:55:55 +0000 (16:55 -0400)
pci_set_master is unnecessary.

Signed-off-by: komurojun-mbn@nifty.com
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/ne2k-pci.c

index e531a4eedfeee3fd046beb4c7df5e3cb03be0da8..d11821dd86edbf94015c7143e048d4da5b5bfde7 100644 (file)
@@ -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);