Skip to contentSkip to conversation

staging/slicoss: disable pci device at remove

PATCH New Devendra Naga 1 participant 1 message Jul 11, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging/slicoss: disable pci device at remove

at probe we enabled the device, and we should disable it at remove.

---

changes v2:
nothing, just a resend, incremented patch version count for maintainer to have notified the latest change easily.

 drivers/staging/slicoss/slicoss.c |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/slicoss/slicoss.c +1 -0
index 785e4c5..56829fc 100644
@@ -3234,6 +3234,7 @@ static void __devexit slic_entry_remove(struct pci_dev *pcidev)
 	}
 	free_netdev(dev);
 	pci_release_regions(pcidev);
+	pci_disable_device(pcidev);
 }
 
 static int slic_entry_halt(struct net_device *dev)
Signature · 1 line
1.7.9.5