From caf6b6140e32066b574dda3b5bdde927414243ea Mon Sep 17 00:00:00 2001 From: "Mark M. Hoffman" Date: Sat, 31 May 2003 20:23:13 +0000 Subject: [PATCH] Added support for SiS651 north bridge. Patches and testing by Chris King and Norbert Roos git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1750 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-sis645.c | 9 ++++++++- prog/detect/sensors-detect | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/kernel/busses/i2c-sis645.c b/kernel/busses/i2c-sis645.c index 95657fc7..eb1abd5c 100644 --- a/kernel/busses/i2c-sis645.c +++ b/kernel/busses/i2c-sis645.c @@ -2,7 +2,7 @@ sis645.c - Part of lm_sensors, Linux kernel modules for hardware monitoring - Copyright (c) 2002 Mark M. Hoffman + Copyright (c) 2003 Mark M. Hoffman This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -57,6 +57,11 @@ #define PCI_DEVICE_ID_SI_648 0x0648 #endif +/* SiS651 north bridge */ +#ifndef PCI_DEVICE_ID_SI_651 +#define PCI_DEVICE_ID_SI_651 0x0651 +#endif + /* SiS961 south bridge */ #ifndef PCI_DEVICE_ID_SI_961 @@ -232,6 +237,8 @@ static int __devinit sis645_probe(struct pci_dev *dev, const struct pci_device_i PCI_DEVICE_ID_SI_648, NULL)) && (NULL == pci_find_device(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_650, NULL)) + && (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_735, NULL))) { printk(KERN_ERR DRV_NAME ": Can't find suitable host bridge!\n"); diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index d43974f8..8d9f4d85 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -244,6 +244,14 @@ use vars qw(@pci_adapters @chip_ids @superio_ids @undetectable_adapters @dmideco driver => "i2c-sis645", match => sub { $_[0] =~ /^SMBus SiS645 adapter at 0x[0-9,a-f]{4}/ }, } , + { + vendid => 0x1039, + devid => 0x0651, + func => 0, + procid => "Silicon Integrated Systems SIS651", + driver => "i2c-sis645", + match => sub { $_[0] =~ /^SMBus SiS645 adapter at 0x[0-9,a-f]{4}/ }, + } , { vendid => 0x1039, devid => 0x0735,