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
feat: fstat now handle symbolic link
[lunaix-os.git]
/
lunaix-os
/
hal
/
pci.c
diff --git
a/lunaix-os/hal/pci.c
b/lunaix-os/hal/pci.c
index 9ac45d5ca680a266d429dc3203a188035acea78a..3859e0c368e073449860319e834b22b61715d18f 100644
(file)
--- a/
lunaix-os/hal/pci.c
+++ b/
lunaix-os/hal/pci.c
@@
-63,7
+63,7
@@
found:
device->cspace_base = pci_base;
device->intr_info = intr;
- device_prepare(&device->dev);
+ device_prepare(&device->dev
, &pos->devdef.class
);
pci_probe_msi_info(device);
pci_probe_bar_info(device);