mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
(mds) add support for Intel 82801BA ICH2 (815E chipset).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@849 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
63bac668c3
commit
cb24789105
5 files changed
+38
-14
No files matched your search
@@ -1,8 +1,9 @@
|
||||
/*
|
||||
i801.c - Part of lm_sensors, Linux kernel modules for hardware
|
||||
monitoring
|
||||
Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> and
|
||||
Philip Edelbrock <phil@netroedge.com>
|
||||
Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl>,
|
||||
Philip Edelbrock <phil@netroedge.com>, and Mark D. Studebaker
|
||||
<mdsxyz123@yahoo.com>
|
||||
|
||||
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
|
||||
@@ -20,9 +21,10 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
This driver supports the Intel 82801AA and 82801AB
|
||||
This driver supports the Intel 82801AA, 82801AB, and 82801BA
|
||||
I/O Controller Hubs (ICH). They are similar to the PIIX4 and are part
|
||||
of Intel's '810' chipset. See the doc/busses/i2c-i801 file for details.
|
||||
of Intel's '810' and other chipsets.
|
||||
See the doc/busses/i2c-i801 file for details.
|
||||
*/
|
||||
|
||||
/* Note: we assume there can only be one I801, with one SMBus interface */
|
||||
@@ -45,6 +47,9 @@
|
||||
#ifndef PCI_DEVICE_ID_INTEL_82801AB_3
|
||||
#define PCI_DEVICE_ID_INTEL_82801AB_3 0x2423
|
||||
#endif
|
||||
#ifndef PCI_DEVICE_ID_INTEL_82801BA_3
|
||||
#define PCI_DEVICE_ID_INTEL_82801BA_3 0x2443
|
||||
#endif
|
||||
|
||||
/* I801 SMBus address offsets */
|
||||
#define SMBHSTSTS (0 + i801_smba)
|
||||
@@ -164,8 +169,15 @@ int i801_setup(void)
|
||||
if (I801_dev == NULL) {
|
||||
do
|
||||
I801_dev = pci_find_device(PCI_VENDOR_ID_INTEL,
|
||||
PCI_DEVICE_ID_INTEL_82801AB_3,
|
||||
I801_dev);
|
||||
PCI_DEVICE_ID_INTEL_82801AB_3,
|
||||
I801_dev);
|
||||
while (I801_dev && (PCI_FUNC(I801_dev->devfn) != 3));
|
||||
}
|
||||
if (I801_dev == NULL) {
|
||||
do
|
||||
I801_dev = pci_find_device(PCI_VENDOR_ID_INTEL,
|
||||
PCI_DEVICE_ID_INTEL_82801BA_3,
|
||||
I801_dev);
|
||||
while (I801_dev && (PCI_FUNC(I801_dev->devfn) != 3));
|
||||
}
|
||||
if (I801_dev == NULL) {
|
||||
|
||||
Reference in new issue
Block a user