diff options
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r-- | src/device/pci_device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c index f83520e079..032e15c669 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -1643,4 +1643,9 @@ void pci_assign_irqs(struct device *dev, const unsigned char pIntAtoD[4]) #endif } } + +void pci_dev_disable_bus_master(const struct device *dev) +{ + pci_update_config16(dev, PCI_COMMAND, ~PCI_COMMAND_MASTER, 0x0); +} #endif |