Subject: Compatibility for m863-based PCs
To: None <port-i386@netbsd.org>
From: Srinivasa Kanduru <ksraghavan@yahoo.com>
List: port-i386
Date: 07/20/2004 11:26:41
Hi,

m863-based motherboard by PC chips is not supported by netbsd. The following
are the changes that will make it work. Also the pci_mode is to be forced to
pci_mode1.

I tested these changes. Probably these changes can be incorporated into
current.

Thanks,
Srini.

----

--- 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_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},



	
		
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/