All of lore.kernel.org
 help / color / mirror / Atom feed
* i2c-sis645.c patch (Experimental SiS 655 support)
@ 2005-05-19  6:24 Kenneth Bernard Healy
  2005-05-19  6:24 ` Jean Delvare
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Kenneth Bernard Healy @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

This patch experimentally enables SiS 655 support by the i2c-sis645 driver.

It simply modifies the driver to also accept the SiS 655 as a valid host 
bridge.

Partially tested on a Gigabyte GA-SINXP1394 (SiS655/963), no problems so far. 
Driver successfully enables the SMBus controller, i2cdetect finds the usual 
devices, and i2cdump successfully reads the DIMM SPD eeprom's.

The patch is against the lm_sensors-2.8.5 release.

--
Ken Healy
--

-------------- next part --------------
diff -urN i2c-sis645.c.orig i2c-sis645.c > i2c-sis645.patch
--- i2c-sis645.c.orig	2003-08-03 06:11:58.000000000 +0100
+++ i2c-sis645.c	2004-03-29 00:36:30.000000000 +0100
@@ -30,6 +30,14 @@
     http://www2.lm-sensors.nu/~lm78/download.html
 */
 
+/* 25th March 2004
+     Experimental support for Sis655 chipsets added by Ken Healy
+     <km.healy@rstudent.mu.ccm.ie> | tr -d .@ | tr r @ | tr m .
+
+     Works on Gigabyte GA-SINXP1394 motherboard. Not fully tested, but
+     no problems so far.
+*/
+
 /*
     Note: we assume there can only be one SiS645 with one SMBus interface
 */
@@ -71,6 +79,11 @@
 #define PCI_DEVICE_ID_SI_651 0x0651
 #endif
 
+/* SiS655 north bridge (defined in 2.4.22)*/
+#ifndef PCI_DEVICE_ID_SI_655
+#define PCI_DEVICE_ID_SI_655 0x0655
+#endif
+
 /* SiS746 north bridge (defined in 2.4.21) */
 #ifndef PCI_DEVICE_ID_SI_746
 #define PCI_DEVICE_ID_SI_746 0x0746
@@ -261,6 +274,8 @@
 			&& (NULL = pci_find_device(PCI_VENDOR_ID_SI,
 				PCI_DEVICE_ID_SI_651, NULL))
 			&& (NULL = pci_find_device(PCI_VENDOR_ID_SI,
+				PCI_DEVICE_ID_SI_655, NULL))
+			&& (NULL = pci_find_device(PCI_VENDOR_ID_SI,
 				PCI_DEVICE_ID_SI_735, NULL))
 			&& (NULL = pci_find_device(PCI_VENDOR_ID_SI,
 				PCI_DEVICE_ID_SI_745, NULL))

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-19  6:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:24 i2c-sis645.c patch (Experimental SiS 655 support) Kenneth Bernard Healy
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` s98028405
2005-05-19  6:24 ` Mark M. Hoffman
2005-05-19  6:24 ` Mark M. Hoffman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.