LIBPCI: converted to BSD header

This commit is contained in:
Daniel Hellstrom
2015-04-07 14:25:49 +02:00
parent 56ea46ba40
commit c1c37a1c58
14 changed files with 1805 additions and 1130 deletions

View File

@@ -55,10 +55,10 @@ void pci_modify_cmdsts(pci_dev_t dev, uint32_t mask, uint32_t val)
{
uint32_t data;
pci_cfg_r32(dev, PCI_COMMAND, &data);
pci_cfg_r32(dev, PCIR_COMMAND, &data);
data &= ~mask;
data |= val;
pci_cfg_w32(dev, PCI_COMMAND, data);
pci_cfg_w32(dev, PCIR_COMMAND, data);
}
/* Register a driver for handling access to PCI */