Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 1998 20:05:24 +0200 (MET DST)
From:      paterno@dsi.UNIFI.IT
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/7014: [PATCH][STABLE] Add support for SiS 5591 bridge to pcisupport.c
Message-ID:  <199806211805.UAA01236@pegasus.home.net>

next in thread | raw e-mail | index | archive | help

>Number:         7014
>Category:       kern
>Synopsis:       [PATCH][STABLE] Add support for SiS 5591 bridge to pcisupport.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 21 17:30:02 PDT 1998
>Last-Modified:
>Originator:     Ugo Paternostro
>Organization:
Not an organization
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

FreeBSD pegasus.home.net 2.2.6-STABLE FreeBSD 2.2.6-STABLE #4: Sun Jun 14 14:53:39 MET DST 1998     ugo@pegasus.home.net:/usr/src/sys/compile/PEGASUS  i386

>Description:

Please commit the attached patch to src/sys/pci/pcisupport.c to add support for
the SiS 5591 chipset. Maybe you want to commit into -current too.

>How-To-Repeat:

Buy a M/B with a SiS chipset? ;-)

>Fix:
	
Index: pcisupport.c
===================================================================
RCS file: /home/ncvs/src/sys/pci/pcisupport.c,v
retrieving revision 1.40.2.8
diff -u -r1.40.2.8 pcisupport.c
--- pcisupport.c	1998/06/17 15:29:09	1.40.2.8
+++ pcisupport.c	1998/06/21 17:43:10
@@ -125,8 +125,6 @@
 		return ("Intel 82424ZX (Saturn) cache DRAM controller");
 	case 0x04828086:
 		return ("Intel 82375EB PCI-EISA bridge");
-	case 0x04961039:
-		return ("SiS 85c496");
 	case 0x04a38086:
 		rev = (unsigned) pci_conf_read (tag, PCI_CLASS_REG) & 0xff;
 		if (rev == 16 || rev == 17)
@@ -144,12 +142,6 @@
 		return ("Intel 82437MX mobile PCI cache memory controller");
 	case 0x12508086:
 		return ("Intel 82439");
-	case 0x04061039:
-		return ("SiS 85c501");
-	case 0x00081039:
-		return ("SiS 85c503");
-	case 0x06011039:
-		return ("SiS 85c601");
 	case 0x70008086:
 		return ("Intel 82371SB PCI-ISA bridge");
 	case 0x70108086:
@@ -190,6 +182,20 @@
 		return ("NEC 002C PCI to PC-98 C-bus bridge");
 	case 0x003b1033:
 		return ("NEC 003B PCI to PC-98 C-bus bridge");
+
+	/* SiS -- vendor 0x1039 */
+	case 0x04961039:
+		return ("SiS 85c496");
+	case 0x04061039:
+		return ("SiS 85c501");
+	case 0x00081039:
+		return ("SiS 85c503");
+	case 0x06011039:
+		return ("SiS 85c601");
+	case 0x55911039:
+		return ("SiS 5591 host to PCI bridge");
+	case 0x00011039:
+		return ("SiS 5591 host to AGP bridge");
 	};
 
 	if (descr = generic_pci_bridge(tag))
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806211805.UAA01236>