kern/91347: Add another PCI-e chipset for extended config cycle support

Gavin Atkinson gavin.atkinson at ury.york.ac.uk
Thu Jan 5 05:20:05 PST 2006


>Number:         91347
>Category:       kern
>Synopsis:       Add another PCI-e chipset for extended config cycle support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 05 13:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gavin Atkinson
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 945testbox.york.ac.uk 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Dec 12 18:04:02 GMT 2005 root at 945testbox.york.ac.uk:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	Add support for the Intel 945 chipset to the PCIe support code.
As mentioned in PR kern/79139 , this will eventually be handled by information
from the ACPI MCFG section, but until support for that is added this will at
least make the 945 chips use some of the PCIe features.

>How-To-Repeat:
	N/A
>Fix:

--- pci-945.diff begins here ---
Index: src/sys/i386/pci/pci_cfgreg.c
===================================================================
RCS file: /usr/cvs/src/sys/i386/pci/pci_cfgreg.c,v
retrieving revision 1.123
diff -u -r1.123 pci_cfgreg.c
--- src/sys/i386/pci/pci_cfgreg.c	8 Dec 2005 18:55:15 -0000	1.123
+++ src/sys/i386/pci/pci_cfgreg.c	5 Jan 2006 13:01:41 -0000
@@ -167,8 +167,8 @@
 			/* Intel 7520 or 7320 */
 			pciebar = pci_cfgregread(0, 0, 0, 0xce, 2) << 16;
 			pciereg_cfgopen();
-		} else if (did == 0x2580 || did == 0x2584) {
-			/* Intel 915 or 925 */
+		} else if (did == 0x2580 || did == 0x2584 || did == 0x2770) {
+			/* Intel 915, 925 or 945 */
 			pciebar = pci_cfgregread(0, 0, 0, 0x48, 4);
 			pciereg_cfgopen();
 		}
--- pci-945.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list