[Bug 264819] panic: pci_get_bus failed for pcib0 on bus legacy0, error = 2
Date: Wed, 22 Jun 2022 11:34:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264819
Andriy Gapon <avg@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
--- Comment #1 from Andriy Gapon <avg@FreeBSD.org> ---
It seems that mptable_pci_host_res_init() should not use pci_get_bus().
At minimum, it should use pcib_get_bus (note 'b') but it looks that the most
proper method would be legacy_get_picbus.
The same is true for mptable_hostb_probe().
pcib_get_bus works there because PCIB_IVAR_BUS happens (or is designed) to have
the same value as LEGACY_IVAR_PCIBUS.
--
You are receiving this mail because:
You are the assignee for the bug.