Subject: port-i386/26394: PCI Compatibility for m863-based PCs.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ksraghavan@yahoo.com>
List: netbsd-bugs
Date: 07/21/2004 13:54:34
>Number: 26394
>Category: port-i386
>Synopsis: on m863-based PCs PCI support doesnt exist
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 21 16:17:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Srinivasa Kanduru
>Release: NetBSD 2.0F
>Organization:
>Environment:
System: NetBSD samratchana 2.0F NetBSD 2.0F (SAMRATCHANA) #0: Mon Jul 5 07:51:06 UTC 2004 root@samratchana:/disk_i/src/src/sys/arch/i386/compile/SAMRATCHANA i386
Architecture: i386
Machine: i386
>Description:
PCI mode detection fails so do pcbh probing leaving in onboard PCI
devices and PCI addon cards in non working state.
This was detected in m863-based motherboards by PC Chips
>How-To-Repeat:
Boot m863-based i396 PC with stock kernel
>Fix:
a) To force PCI mode to pci_mode1 (for this machine)
b) Add the pci_bridge rev into the database so the probe works
--- src/sys/dev/pci/pcidevs.h.orig 2003-05-25 23:05:42.000000000 +0000
+++ src/sys/dev/pci/pcidevs.h 2003-05-24 20:41:51.000000000 +0000
@@ -2396,6 +2396,7 @@
#define PCI_PRODUCT_SIS_733 0x0733 /* SiS 733 Host Bridge */
#define PCI_PRODUCT_SIS_735 0x0735 /* SiS 735 Host Bridge */
#define PCI_PRODUCT_SIS_740 0x0740 /* SiS 740 Host Bridge */
+#define PCI_PRODUCT_SIS_741 0x0741 /* SiS 741 Host Bridge */
#define PCI_PRODUCT_SIS_745 0x0745 /* SiS 745 Host Bridge */
#define PCI_PRODUCT_SIS_746 0x0746 /* SiS 746 Host Bridge */
#define PCI_PRODUCT_SIS_748 0x0748 /* SiS 748 Host Bridge */
--- src/sys/dev/pci/pcidevs_data.h.orig 2003-05-25 23:06:24.000000000 +0000
+++ src/sys/dev/pci/pcidevs_data.h 2003-05-24 20:43:47.000000000 +0000
@@ -8536,6 +8536,12 @@
"SiS 740 Host Bridge",
},
{
+ PCI_VENDOR_SIS, PCI_PRODUCT_SIS_741,
+ 0,
+ "Silicon Integrated System",
+ "SiS 741 Host Bridge",
+ },
+ {
PCI_VENDOR_SIS, PCI_PRODUCT_SIS_745,
0,
"Silicon Integrated System",
--- src/sys/dev/pci/siside.c.orig 2003-05-25 23:06:44.000000000 +0000
+++ src/sys/dev/pci/siside.c 2003-05-24 20:01:10.000000000 +0000
@@ -136,6 +136,7 @@
{PCI_PRODUCT_SIS_733, 0x00, 5, "733", SIS_TYPE_100NEW},
{PCI_PRODUCT_SIS_735, 0x00, 5, "735", SIS_TYPE_100NEW},
{PCI_PRODUCT_SIS_740, 0x00, 5, "740", SIS_TYPE_SOUTH},
+ {PCI_PRODUCT_SIS_741, 0x00, 5, "741", SIS_TYPE_SOUTH},
{PCI_PRODUCT_SIS_745, 0x00, 5, "745", SIS_TYPE_100NEW},
{PCI_PRODUCT_SIS_746, 0x00, 6, "746", SIS_TYPE_SOUTH},
{PCI_PRODUCT_SIS_748, 0x00, 6, "748", SIS_TYPE_SOUTH},
>Release-Note:
>Audit-Trail:
>Unformatted:
<pLease check that the above is correct for the bug being reported,>