Implement pci_disable_device() in the LinuxKPI.
Submitted by: kmacy MFC after: 2 weeks
This commit is contained in:
parent
465659643b
commit
f67b5de754
@ -321,6 +321,9 @@ pci_enable_device(struct pci_dev *pdev)
|
||||
static inline void
|
||||
pci_disable_device(struct pci_dev *pdev)
|
||||
{
|
||||
|
||||
pci_disable_io(pdev->dev.bsddev, SYS_RES_IOPORT);
|
||||
pci_disable_io(pdev->dev.bsddev, SYS_RES_MEMORY);
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
Loading…
x
Reference in New Issue
Block a user