Date: Tue, 25 Oct 2005 04:53:29 +0000 (UTC) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/pci pci_cfgreg.c src/sys/amd64/pci pci_cfgreg.c Message-ID: <200510250453.j9P4rTJk085860@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510250453.j9P4rTJk085860>