X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/b6ff3c7dbab3f40d03389808d95ac27d416c35e3..45e1f8b055043e54be35462852ab6649d634da7c:/lunaix-os/hal/pci.c?ds=sidebyside diff --git a/lunaix-os/hal/pci.c b/lunaix-os/hal/pci.c index 8969224..96cd676 100644 --- a/lunaix-os/hal/pci.c +++ b/lunaix-os/hal/pci.c @@ -292,7 +292,7 @@ pci_setup_msi(struct pci_device* device, int vector) } struct pci_device* -pci_get_device_by_id(uint16_t vendorId, uint16_t deviceId) +pci_get_device_by_id(u16_t vendorId, u16_t deviceId) { u32_t dev_info = vendorId | (deviceId << 16); struct pci_device *pos, *n;