diff options
author | marius <marius@FreeBSD.org> | 2015-12-27 17:51:10 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2015-12-27 17:51:10 +0000 |
commit | 14a25019d63edd9c451e5dfd43607d28b042d919 (patch) | |
tree | 9a9013b86216cf1d28b2e073130537b90bd15866 /etc/etc.amd64/ttys | |
parent | b65a25360bf453761bef728656d2499296150eb6 (diff) | |
download | FreeBSD-src-14a25019d63edd9c451e5dfd43607d28b042d919.zip FreeBSD-src-14a25019d63edd9c451e5dfd43607d28b042d919.tar.gz |
MFC: r287767
- Sanity check that the parent ranges given in the "ranges" property
of PCI-EBus-bridges actually match the BARs as specified in and
required by [1, p. 113 f.]. Doing so earlier would have simplified
diagnosing a bug in QEMU/OpenBIOS getting the mapping of child
addresses wrong, which still needs to be fixed there.
In theory, we could try to change the BARs accordingly if we hit
this problem. However, at least with real machines changing the
decoding likely won't work, especially if the PCI-EBus-bridge is
beneath an APB one. So implementing such functionality generally
is rather pointless.
- Actually change the allocation type of EBus resources if they
change from SYS_RES_MEMORY to SYS_RES_IOPORT when mapping them
to PCI ranges in ebus_alloc_resource() and passing them up to
bus_activate_resource(9). This may happen with the QEMU/OpenBIOS
PCI-EBus-bridge but not real ones. Still, this is only cleans up
the code and the result of resource allocation and activation is
unchanged.
- Change the remainder of printf(9) to device_printf(9) calls and
canonicalize their wording.
Peripheral Component Interconnect Input Output Controller,
Part No.: 802-7837-01, Sun Microelectronics, March 1997 [1]
Diffstat (limited to 'etc/etc.amd64/ttys')
0 files changed, 0 insertions, 0 deletions