pci: print PCI info in case of deferred init.
This is normally done just after init, but in the case of deferred init, there will be nothing to print at that point. Currently, there is no way to access that info after the system has booted. listdev should be extended, or the info should be published in PCI device nodes to view in the Devices app. Change-Id: Id89377ccf8bb967abae96194e503fffc06477acf Reviewed-on: https://review.haiku-os.org/c/haiku/+/5758 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
876ddc1adb
commit
70bf92576d
@ -524,6 +524,8 @@ pci_init_deferred(void)
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
pci_print_info();
|
||||
|
||||
sInitDone = true;
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user