cvs commit: src/sys/i386/pci pci_cfgreg.c src/sys/amd64/pci pci_cfgreg.c

Bill Paul wpaul at FreeBSD.org
Mon Oct 24 21:53:30 PDT 2005


wpaul       2005-10-25 04:53:29 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/pci         pci_cfgreg.c 
    sys/amd64/pci        pci_cfgreg.c 
  Log:
  Modify the pci_cfgdisable() routine to bring it more in line with
  other OSes (Solaris, Linux, VxWorks). It's not necessary to write a 0
  to the config address register when using config mechanism 1 to turn
  off config access. In fact, it can be downright troublesome, since it
  seems to confuse the PCI-PCI bridge in the AMD8111 chipset and cause
  it to sporadically botch reads from some devices. This is the cause
  of the missing USP ports problem I was experiencing with my Sun Opteron
  system.
  
  Also correct the case for mechanism 2: it's only necessary to write
  a 0 to the ENABLE port.
  
  Revision  Changes    Path
  1.109     +6 -2      src/sys/amd64/pci/pci_cfgreg.c
  1.117     +7 -3      src/sys/i386/pci/pci_cfgreg.c


More information about the cvs-src mailing list