HomeFreeBSD

In pcib_alloc_resource() check if the resource allocation request is

Description

In pcib_alloc_resource() check if the resource allocation request is
for the VGA I/O or memory ranges, when it's not within the default
ranges decoded by the bridge. When allocation for VGA addresses is
attempted, check that the bridge has the VGA Enable bit set before
allowing it.
As such, newbusified VGA drivers can allocate their resources when
the VGA adapter is behind a PCI-to-PCI bridge.

Reviewed by: imp@, jhb@

Details

Provenance
marcelAuthored on Apr 29 2005, 2:15 AM
Parents
rG9929ff6b5b1e: Add pci_is_vga_ioport_range() and pci_is_vga_memory_range() as inline
Branches
Unknown
Tags
Unknown

Event Timeline