summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-07-18 15:17:11 +0000
committerjhb <jhb@FreeBSD.org>2013-07-18 15:17:11 +0000
commit110931b35d69de2ab71d15fa3c64a6b05797e419 (patch)
tree9e82bcc0ae048cbea2e74c1e81567c65f7d8cfee /contrib/binutils/include
parent45bc92633de9aa07c98b009b403dd3f2ee1cdcb4 (diff)
downloadFreeBSD-src-110931b35d69de2ab71d15fa3c64a6b05797e419.zip
FreeBSD-src-110931b35d69de2ab71d15fa3c64a6b05797e419.tar.gz
Properly handle I/O windows in bridges with the ISA enable bit set. These
beasts still exist unfortunately. More details can be found in other references, but the short version is that bridges with this bit set ignore I/O port ranges that alias to valid ISA I/O port ranges. In the driver this requires not allocating these alias regions from the parent device (so they are free to be acquired by ISA devices), and ensuring no child devices use resources from these alias regions. - Change the pcib_window structure to allow for an array of backing resources rather than a single resource and update the existing code to cope with this. Some of the coping requires using the saved base and limit values in pcib_window instead of using rman operations on the backing resource. - Add special handling for allocating and adjusting the I/O port window of an ISA-enabled bridge to only allocate the non-alias ranges and add those to the associated resource manager. - Reject I/O port allocations for a fixed request that conflicts with an ISA alias range. - Remove the "no prefected decode" verbose printf during boot. The absence of a "prefetched decode" line is sufficient. - Replace the "subtractively decoded bridge" verbose printf with a single printf that lists all the "special" decoding modes of a bridge: ISA, subtractive, and VGA. - Add a custom bus_release_resource() method to the PCI bus driver so that it can properly free resources for I/O windows of PCI-PCI bridges. (These resources are not stored in the bridge device's resource list.) PR: misc/179033 MFC after: 2 weeks
Diffstat (limited to 'contrib/binutils/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud