Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 17:04:43 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/pci pci.c pcireg.h
Message-ID:  <200701161704.l0GH4h8v072184@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701161704.l0GH4h8v072184>