The pci_disable_device() function is also expected to clear the PCI
busmaster. This fixes LinuxKPI compliancy with Linux. MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
289be8516c
commit
ab822fada3
@ -343,6 +343,7 @@ 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);
|
||||
pci_disable_busmaster(pdev->dev.bsddev);
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
Loading…
Reference in New Issue
Block a user