https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241651
Bug ID: 241651
Summary: linuxkpi doesn't handle uninitialized PCI devices
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
The linuxkpi assumes that PCI devices are already fully configured. However,
sometimes video cards are not configured by firmware and need to be initialized
instead by FreeBSD.
Linux KPI uses the PCI device resource lists directly, which can fail when a
device is not initialized.
According to jhb@, this should be done instead by using pci_find_bar(), and
other PCI API functions, in linux_pci_get_bar() instead of trolling through the
resource list directly, so that the BARs get properly initialized.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"