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: b...@freebsd.org
          Reporter: jhibb...@freebsd.org

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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to