Date: Sat, 14 Mar 2009 14:08:53 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/pci pci_pci.c pcib_private.h Message-ID: <200903141409.n2EE9A1C016421@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2009-03-14 14:08:53 UTC
FreeBSD src repository
Modified files:
sys/dev/pci pci_pci.c pcib_private.h
Log:
SVN rev 189792 on 2009-03-14 14:08:53Z by imp
Two fixes:
(1) Fix pcib_read/write_config prototypes.
(2) When contrainting a resource request for a 'subtractive' bridge,
it is important to select a range outside the base/limit
registers, since those are the only values known to not
possibly work. On my HP laptop, the base bridge excludes I/O
ports 0xa000-0xafff, however that was the range we were passing
up the tree. Instead, when a range spans the "hole" we now
arbitrarily pick the range just above the hole to allocate from.
All of my rl and xl cards, at a minimum, started working again on this
laptop with those fixes.
Revision Changes Path
1.57 +12 -16 src/sys/dev/pci/pci_pci.c
1.15 +2 -2 src/sys/dev/pci/pcib_private.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903141409.n2EE9A1C016421>
