From: Komuro Date: Fri, 28 Oct 2005 20:55:55 +0000 (-0400) Subject: [netdrvr] ne2k-pci based card does not support bus-mastering. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f075707a9380592586d608a8d04dfbdb3c40339;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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);