Date: Wed, 10 Sep 2008 15:39:03 -0400 From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/pci pci_cfgreg.c src/sys/i386/pci pci_cfgreg.c Message-ID: <200809101539.03832.jhb@freebsd.org> In-Reply-To: <200809101806.m8AI6KOH097091@repoman.freebsd.org> References: <200809101806.m8AI6KOH097091@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 September 2008 02:06:08 pm John Baldwin wrote: > jhb 2008-09-10 18:06:08 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/pci pci_cfgreg.c > sys/i386/pci pci_cfgreg.c > Log: > SVN rev 182910 on 2008-09-10 18:06:08Z by jhb > > Some K8 chipsets don't expose all of the PCI devices on bus 0 via PCIe > memory-mapped config access. Add a workaround for these systems by > checking the first function of each slot on bus 0 using both the > memory-mapped config access and the older type 1 I/O port config access. > If we find a slot that is only visible via the type 1 I/O port config > access, we flag that slot. Future PCI config transactions to flagged > slots on bus 0 use type 1 I/O port config access rather than memory mapped > config access. Linux has a similar hack^Wworkaround. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809101539.03832.jhb>