cvs commit: src/sys/dev/pci pci.c

Warner Losh imp at FreeBSD.org
Sat Sep 3 16:15:47 PDT 2005


imp         2005-09-03 23:15:46 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c 
  Log:
  More consistantly return the correct BAR size.  Before, we'd only
  return the correct bar size if we encountered a 64-bit BAR that had
  its resources already assigned.  If the resources weren't yet
  assigned, we'd bogusly assume it was a 32-bit bar and return 1.
  
  Revision  Changes    Path
  1.295     +8 -6      src/sys/dev/pci/pci.c


More information about the cvs-src mailing list