mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
(Phil) Patches from Mark Rusk to support Serverworks CSB5.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1152 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
2d2305d2f9
commit
8498ff5dd8
2 files changed
+19
No files matched your search
@@ -41,6 +41,10 @@
|
||||
#define PCI_DEVICE_ID_SERVERWORKS_OSB4 0x0200
|
||||
#endif
|
||||
|
||||
#ifndef PCI_DEVICE_ID_SERVERWORKS_CSB5
|
||||
#define PCI_DEVICE_ID_SERVERWORKS_CSB5 0x0201
|
||||
#endif
|
||||
|
||||
#ifndef PCI_VENDOR_ID_SERVERWORKS
|
||||
#define PCI_VENDOR_ID_SERVERWORKS 0x01166
|
||||
#endif
|
||||
@@ -168,6 +172,13 @@ int piix4_setup(void)
|
||||
PCI_DEVICE_ID_SERVERWORKS_OSB4,
|
||||
PIIX4_dev);
|
||||
while (PIIX4_dev && (PCI_FUNC(PIIX4_dev->devfn) != 0));
|
||||
/* Check for a CSB5 */
|
||||
if (PIIX4_dev == NULL) {
|
||||
PIIX4_dev = pci_find_device(PCI_VENDOR_ID_SERVERWORKS,
|
||||
PCI_DEVICE_ID_SERVERWORKS_CSB5,
|
||||
PIIX4_dev);
|
||||
while (PIIX4_dev && (PCI_FUNC(PIIX4_dev->devfn) != 0));
|
||||
}
|
||||
if (PIIX4_dev == NULL) {
|
||||
PIIX4_dev = pci_find_device(PCI_VENDOR_ID_INTEL,
|
||||
PCI_DEVICE_ID_INTEL_82371AB_3,
|
||||
|
||||
@@ -403,6 +403,14 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters);
|
||||
driver => "i2c-piix4",
|
||||
match => sub { $_[0] =~ /^SMBus SMSC adapter at / },
|
||||
} ,
|
||||
{
|
||||
vendid => 0x1166,
|
||||
devid => 0x0201,
|
||||
func => 0,
|
||||
procid => "ServerWorks South Bridge",
|
||||
driver => "i2c-piix4",
|
||||
match => sub { $_[0] =~ /^SMBus CSB5 adapter at / },
|
||||
} ,
|
||||
);
|
||||
|
||||
use subs qw(mtp008_detect lm78_detect lm78_isa_detect lm78_alias_detect
|
||||
|
||||
Reference in new issue
Block a user