84d6a5d4a7
On a SPROM-less device, the PCI(e) bridge core will be initialized with its power-on-reset defaults; this can leave the SPROM-derived BHND_PCI_SRSH_PI value pointing to the wrong backplane address. This value is used by the PCI core when performing address translation between the static register windows in BAR0 that map the PCI core's register block, and backplane address space. Previously, bhndb_pci(4) incorrectly used the potentially invalid static BAR0 PCI register windows when attempting to correct the BHND_PCI_SRSH_PI value in the PCI core's SPROM shadow. Instead, we now read/update BHND_PCI_SRSH_PI by fetching the PCI core's backplane address from the core enumeration table, and then using a dynamic register window to explicitly map the PCI core's register block into BAR0. Sponsored by: The FreeBSD Foundation |
||
---|---|---|
.. | ||
bhnd_pci_hostb.c | ||
bhnd_pci_hostbvar.h | ||
bhnd_pci.c | ||
bhnd_pcib.c | ||
bhnd_pcibvar.h | ||
bhnd_pcireg.h | ||
bhnd_pcivar.h |