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

Warner Losh imp at
Tue Apr 13 12:31:58 PDT 2004

imp         2004/04/13 12:31:57 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c 
  Some devices have what appear to be invalid BARs.  They are invalid in
  the sense that any write to them reads back as a 0.  This presents a
  problem to our resource allocation scheme.  If we encounter such vars,
  the code now treats them as special, allowing any allocation against
  them to succeed.  I've not seen anything in the standard to clearify
  what host software should do when it encounters these sorts of BARs.
  Also cleaned up some output while I'm here and add commmented out
  bootverbose lines until I'm ready to reduce the verbosity of boot
  This gets a number of south bridges and ata controllers made mostly by
  VIA, AMD and nVidia working again.  Thanks to Soren Schmidt for his
  help in coming up with this patch.
  Revision  Changes    Path
  1.241     +51 -26    src/sys/dev/pci/pci.c

More information about the cvs-src mailing list