cvs commit: src/sys/dev/pci pci.c
Warner Losh
imp at FreeBSD.org
Fri Jun 3 12:41:07 PDT 2005
imp 2005-06-03 19:41:06 UTC
FreeBSD src repository
Modified files:
sys/dev/pci pci.c
Log:
Mask off the bar's value after the probe test write before testing
against 0 in pci_alloc_map, just like we do in pci_add_map. Also,
make sure that we restore the value to the BAR that was there before
if the bar is 0. Chances are that it was 0 before the write too and
that the restoration is a nop, but better safe than sorry.
Notice by: dwhite
Revision Changes Path
1.292 +2 -2 src/sys/dev/pci/pci.c
More information about the cvs-src
mailing list