git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: fix almost *ALL* warnings.
[lunaix-os.git]
/
lunaix-os
/
hal
/
pci.c
diff --git
a/lunaix-os/hal/pci.c
b/lunaix-os/hal/pci.c
index 8969224502e492c4141220c5b8f87be4772695e8..96cd676de3ef790de0e26b21fcbf42c66b8333f2 100644
(file)
--- 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*
}
struct pci_device*
-pci_get_device_by_id(u
int16_t vendorId, uint
16_t deviceId)
+pci_get_device_by_id(u
16_t vendorId, u
16_t deviceId)
{
u32_t dev_info = vendorId | (deviceId << 16);
struct pci_device *pos, *n;
{
u32_t dev_info = vendorId | (deviceId << 16);
struct pci_device *pos, *n;