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

John Baldwin jhb at FreeBSD.org
Tue Jan 16 17:04:43 UTC 2007


jhb         2007-01-16 17:04:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c pcireg.h 
  Log:
  Fix the subvendor ID for PCI-PCI bridges.
  - Retire the PCI_SUB*_1 constants and don't try to read a subvendor ID out
    of them.  There isn't a standard subvendor ID field for PCI-PCI bridges.
    Instead, the dword at offset 0x34 is actually mostly reserved except for
    the LSB which is the capabilities pointer.
  - Add support for the PCI-PCI bridge subvendor ID capability (13) and use
    it to set the subvendor ID for PCI-PCI bridges.
  
  MFC after:       1 month
  
  Revision  Changes    Path
  1.336     +7 -2      src/sys/dev/pci/pci.c
  1.56      +4 -3      src/sys/dev/pci/pcireg.h


More information about the cvs-src mailing list