Date: Fri, 16 Jan 2009 22:22:30 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/pci pci.c Message-ID: <200901162222.n0GMMgnF044944@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-01-16 22:22:30 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 187348 on 2009-01-16 22:22:30Z by jhb Disable decoding of BARs by devices before we trash the value in the BAR by writing all 1's to it to determine its length. This fixes issues with MCFG on at least some machines where a trashed BAR claimed subsequent attempts at PCI config transactions because the addresses in the MCFG window fell in the decoding range of the BAR. In general it is a bad idea to leave the BARs enabled while we are frobbing with them in this manner. Sleuthing by: tegge MFC after: 1 week Revision Changes Path 1.367 +18 -0 src/sys/dev/pci/pci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901162222.n0GMMgnF044944>