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 |
||
---|---|---|
.. | ||
bcma | ||
bhndb | ||
cores | ||
nvram | ||
siba | ||
tools | ||
bhnd_bus_if.m | ||
bhnd_debug.h | ||
bhnd_erom_if.m | ||
bhnd_erom_types.h | ||
bhnd_erom.c | ||
bhnd_erom.h | ||
bhnd_eromvar.h | ||
bhnd_ids.h | ||
bhnd_match.h | ||
bhnd_private.h | ||
bhnd_subr.c | ||
bhnd_types.h | ||
bhnd.c | ||
bhnd.h | ||
bhndreg.h | ||
bhndvar.h |