2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-01 14:55:27 +00:00

Added support for SiS745 north bridge.

Patch and testing by Rudolf Marek

(mmh) Also added missing declaration for SiS963 support - my bad.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1752 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark M. Hoffman
2003-05-31 22:22:16 +00:00
parent ec909108b7
commit 3d54042d27
2 changed files with 26 additions and 1 deletions

View File

@@ -62,6 +62,10 @@
#define PCI_DEVICE_ID_SI_651 0x0651 #define PCI_DEVICE_ID_SI_651 0x0651
#endif #endif
/* SiS85C503/5513 (LPC Bridge) */
#ifndef PCI_DEVICE_ID_SI_LPC
#define PCI_DEVICE_ID_SI_LPC 0x0018
#endif
/* SiS961 south bridge */ /* SiS961 south bridge */
#ifndef PCI_DEVICE_ID_SI_961 #ifndef PCI_DEVICE_ID_SI_961
@@ -235,6 +239,7 @@ static int __devinit sis645_probe(struct pci_dev *dev, const struct pci_device_i
break; break;
case PCI_DEVICE_ID_SI_503: case PCI_DEVICE_ID_SI_503:
case PCI_DEVICE_ID_SI_LPC:
printk(KERN_INFO DRV_NAME ": Found SiS south bridge in compatability mode(?)\n"); printk(KERN_INFO DRV_NAME ": Found SiS south bridge in compatability mode(?)\n");
/* look for known compatible north bridges */ /* look for known compatible north bridges */
@@ -249,7 +254,9 @@ static int __devinit sis645_probe(struct pci_dev *dev, const struct pci_device_i
&& (NULL == pci_find_device(PCI_VENDOR_ID_SI, && (NULL == pci_find_device(PCI_VENDOR_ID_SI,
PCI_DEVICE_ID_SI_651, NULL)) PCI_DEVICE_ID_SI_651, NULL))
&& (NULL == pci_find_device(PCI_VENDOR_ID_SI, && (NULL == pci_find_device(PCI_VENDOR_ID_SI,
PCI_DEVICE_ID_SI_735, NULL))) { PCI_DEVICE_ID_SI_735, NULL))
&& (NULL == pci_find_device(PCI_VENDOR_ID_SI,
PCI_DEVICE_ID_SI_745, NULL))) {
printk(KERN_ERR DRV_NAME ": Can't find suitable host bridge!\n"); printk(KERN_ERR DRV_NAME ": Can't find suitable host bridge!\n");
return -ENODEV; return -ENODEV;
} }
@@ -508,8 +515,10 @@ static struct pci_device_id sis645_ids[] __devinitdata = {
/* look for these south bridges */ /* look for these south bridges */
{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503, PCI_ANY_ID, PCI_ANY_ID, }, { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503, PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_LPC, PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_961, PCI_ANY_ID, PCI_ANY_ID, }, { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_961, PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_962, PCI_ANY_ID, PCI_ANY_ID, }, { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_962, PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_963, PCI_ANY_ID, PCI_ANY_ID, },
{ 0, } { 0, }
}; };

View File

@@ -180,6 +180,14 @@ use vars qw(@pci_adapters @chip_ids @superio_ids @undetectable_adapters @dmideco
driver => "i2c-sis5595", driver => "i2c-sis5595",
match => sub { $_[0] =~ /^SMBus SIS5595 adapter at [0-9,a-f]{4}/ }, match => sub { $_[0] =~ /^SMBus SIS5595 adapter at [0-9,a-f]{4}/ },
} , } ,
{
vendid => 0x1039,
devid => 0x0018,
func => 0,
procid => "Silicon Integrated Systems 85C503/5513 (LPC Bridge)",
driver => "i2c-sis645",
match => sub { $_[0] =~ /^SMBus SiS645 adapter at 0x[0-9,a-f]{4}/ },
} ,
{ {
vendid => 0x1039, vendid => 0x1039,
devid => 0x5597, devid => 0x5597,
@@ -260,6 +268,14 @@ use vars qw(@pci_adapters @chip_ids @superio_ids @undetectable_adapters @dmideco
driver => "i2c-sis645", driver => "i2c-sis645",
match => sub { $_[0] =~ /^SMBus SiS645 adapter at 0x[0-9,a-f]{4}/ }, match => sub { $_[0] =~ /^SMBus SiS645 adapter at 0x[0-9,a-f]{4}/ },
} , } ,
{
vendid => 0x1039,
devid => 0x0745,
func => 0,
procid => "Silicon Integrated Systems SIS745",
driver => "i2c-sis645",
match => sub { $_[0] =~ /^SMBus SiS645 adapter at 0x[0-9,a-f]{4}/ },
} ,
{ {
vendid => 0x1039, vendid => 0x1039,
devid => 0x0730, devid => 0x0730,