1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Detect and attach to the ICH3 SMBus controller.

PR:		i386/36972
Submitted by:	Colin Perkins <csp@isi.edu>
Requested by:	Larry Rosenman <ler@lerctr.org>
MFC After:	7 days
This commit is contained in:
John Baldwin 2002-05-08 00:51:54 +00:00
parent e2ef54de51
commit 492da65ed7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96200

View File

@ -69,6 +69,7 @@
#define ID_81801AA 0x24138086
#define ID_81801AB 0x24238086
#define ID_82801BA 0x24438086
#define ID_82801CA 0x24838086
#define PCIS_SERIALBUS_SMBUS_PROGIF 0x00
@ -124,6 +125,9 @@ ichsmb_pci_probe(device_t dev)
case ID_82801BA:
device_set_desc(dev, "Intel 82801BA (ICH2) SMBus controller");
break;
case ID_82801CA:
device_set_desc(dev, "Intel 82801CA (ICH3) SMBus controller");
break;
default:
if (pci_get_class(dev) == PCIC_SERIALBUS
&& pci_get_subclass(dev) == PCIS_SERIALBUS_SMBUS