PERFORCE change 76043 for review

Marcel Moolenaar marcel at FreeBSD.org
Tue Apr 26 19:13:35 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=76043

Change 76043 by marcel at marcel_nfs on 2005/04/27 02:13:04

	Allow VGA resources across the APB PCI-PCI bridge as well.

Affected files ...

.. //depot/projects/tty/sys/sparc64/pci/apb.c#5 edit

Differences ...

==== //depot/projects/tty/sys/sparc64/pci/apb.c#5 (text+ko) ====

@@ -161,6 +161,13 @@
 {
 	int i, ei;
 
+	/* Allow the legacy VGA ranges. */
+	if ((start >= 0x3b0 && end < 0x3bc) ||
+	    (start >= 0x3c0 && end < 0x3dc) ||
+	    (start >= 0xa0000 && end < 0xc0000))
+		return (1);
+
+	/* Check the map. */
 	i = start / scale;
 	ei = end / scale;
 	if (i > 7 || ei > 7)


More information about the p4-projects mailing list