* 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* i2c-sis645.c patch (Experimental SiS 655 support)
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
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
> > This patch experimentally enables SiS 655 support by the i2c-sis645
> > driver.
> > (...)
> > The patch is against the lm_sensors-2.8.5 release.
A similar patch against Linux 2.6.5-mm1 would be appreciated.
Thanks.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
^ permalink raw reply [flat|nested] 7+ messages in thread* i2c-sis645.c patch (Experimental SiS 655 support)
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 M. Hoffman
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Mark Studebaker @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
applied
thanks
Kenneth Bernard Healy wrote:
> 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
> --
>
>
>
> ------------------------------------------------------------------------
>
> 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* i2c-sis645.c patch (Experimental SiS 655 support)
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 M. Hoffman
2005-05-19 6:24 ` Mark Studebaker
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Mark M. Hoffman @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
Hi Ken, Mark...
* Mark D. Studebaker <mds4@verizon.net> [2004-04-06 19:57:02 -0400]:
> the i2c-sis96x driver doesn't have a list of PCI ID's so a 'similar patch'
> isn't possible. MMH does anything need to change in 2.6 for this new chip?
Nope, it should work fine as it is. The 2.6 kernel checks for any SiS PCI id
madness at boot time and fixes it (long before the i2c-sis96x driver inits).
However, sensors-detect needs the patch which I just committed. Ken, could
you please test that?
Thanks and regards,
--
Mark M. Hoffman
mhoffman@lightlink.com
^ permalink raw reply [flat|nested] 7+ messages in thread* i2c-sis645.c patch (Experimental SiS 655 support)
2005-05-19 6:24 i2c-sis645.c patch (Experimental SiS 655 support) Kenneth Bernard Healy
` (2 preceding siblings ...)
2005-05-19 6:24 ` Mark M. Hoffman
@ 2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` s98028405
2005-05-19 6:24 ` Mark M. Hoffman
5 siblings, 0 replies; 7+ messages in thread
From: Mark Studebaker @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
the i2c-sis96x driver doesn't have a list of PCI ID's so a 'similar patch'
isn't possible. MMH does anything need to change in 2.6 for this new chip?
Jean Delvare wrote:
>>>This patch experimentally enables SiS 655 support by the i2c-sis645
>>>driver.
>>>(...)
>>>The patch is against the lm_sensors-2.8.5 release.
>
>
> A similar patch against Linux 2.6.5-mm1 would be appreciated.
>
> Thanks.
>
^ permalink raw reply [flat|nested] 7+ messages in thread* i2c-sis645.c patch (Experimental SiS 655 support)
2005-05-19 6:24 i2c-sis645.c patch (Experimental SiS 655 support) Kenneth Bernard Healy
` (3 preceding siblings ...)
2005-05-19 6:24 ` Mark Studebaker
@ 2005-05-19 6:24 ` s98028405
2005-05-19 6:24 ` Mark M. Hoffman
5 siblings, 0 replies; 7+ messages in thread
From: s98028405 @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
Hi Mark,
Will do.
It may be a few days though - I'll have to setup a 2.6 kernel (still with 2.4
at the moment).
I'll send the results when I get them.
Regards,
Ken.
>=== Original Message From "Mark M. Hoffman" <mhoffman@lightlink.com> ==>Hi Ken, Mark...
>
>* Mark D. Studebaker <mds4@verizon.net> [2004-04-06 19:57:02 -0400]:
>> the i2c-sis96x driver doesn't have a list of PCI ID's so a 'similar patch'
>> isn't possible. MMH does anything need to change in 2.6 for this new chip?
>
>Nope, it should work fine as it is. The 2.6 kernel checks for any SiS PCI id
>madness at boot time and fixes it (long before the i2c-sis96x driver inits).
>
>However, sensors-detect needs the patch which I just committed. Ken, could
>you please test that?
>
>Thanks and regards,
>
>--
>Mark M. Hoffman
>mhoffman@lightlink.com
^ permalink raw reply [flat|nested] 7+ messages in thread* i2c-sis645.c patch (Experimental SiS 655 support)
2005-05-19 6:24 i2c-sis645.c patch (Experimental SiS 655 support) Kenneth Bernard Healy
` (4 preceding siblings ...)
2005-05-19 6:24 ` s98028405
@ 2005-05-19 6:24 ` Mark M. Hoffman
5 siblings, 0 replies; 7+ messages in thread
From: Mark M. Hoffman @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
* s98028405 <s98028405@mars.ucc.ie> [2004-04-07 12:54:28 +0100]:
> Hi Mark,
>
> Will do.
>
> It may be a few days though - I'll have to setup a 2.6 kernel (still with 2.4
> at the moment).
Oops, I wasn't clear... the sensors-detect patch is needed even for a 2.4 kernel.
But of course I would appreciate if you test w/ a 2.6 kernel as well.
> I'll send the results when I get them.
Thanks!
> Regards,
> Ken.
>
> >=== Original Message From "Mark M. Hoffman" <mhoffman@lightlink.com> ==> >Hi Ken, Mark...
> >
> >* Mark D. Studebaker <mds4@verizon.net> [2004-04-06 19:57:02 -0400]:
> >> the i2c-sis96x driver doesn't have a list of PCI ID's so a 'similar patch'
> >> isn't possible. MMH does anything need to change in 2.6 for this new chip?
> >
> >Nope, it should work fine as it is. The 2.6 kernel checks for any SiS PCI id
> >madness at boot time and fixes it (long before the i2c-sis96x driver inits).
> >
> >However, sensors-detect needs the patch which I just committed. Ken, could
> >you please test that?
Regards,
--
Mark M. Hoffman
mhoffman@lightlink.com
^ 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 M. Hoffman
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` s98028405
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.