Date: Fri, 29 Apr 2005 02:15:40 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pci pci_pci.c Message-ID: <200504290215.j3T2FfTO002126@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-04-29 02:15:40 UTC
FreeBSD src repository
Modified files:
sys/dev/pci pci_pci.c
Log:
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@
Revision Changes Path
1.36 +16 -0 src/sys/dev/pci/pci_pci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504290215.j3T2FfTO002126>
