ichsmb: drop default attachment to generic smbus hardware

Attach only to devices known to be supported.
This change overrided and undoes r200053.

Suggested by:	jhb
MFC after:	2 weeks (only to stable/8)
This commit is contained in:
Andriy Gapon 2009-12-04 05:45:46 +00:00
parent a01f5aeb09
commit 5e6d0a234e

View File

@ -67,7 +67,6 @@ __FBSDID("$FreeBSD$");
#include <dev/ichsmb/ichsmb_reg.h>
/* PCI unique identifiers */
#define VENDORID_INTEL 0x8086
#define ID_82801AA 0x24138086
#define ID_82801AB 0x24238086
#define ID_82801BA 0x24438086
@ -172,13 +171,6 @@ ichsmb_pci_probe(device_t dev)
device_set_desc(dev, "Intel 631xESB/6321ESB (ESB2) SMBus controller");
break;
default:
if (pci_get_vendor(dev) == VENDORID_INTEL
&& pci_get_class(dev) == PCIC_SERIALBUS
&& pci_get_subclass(dev) == PCIS_SERIALBUS_SMBUS
&& pci_get_progif(dev) == PCIS_SERIALBUS_SMBUS_PROGIF) {
device_set_desc(dev, "Intel SMBus controller");
return (BUS_PROBE_DEFAULT); /* XXX */
}
return (ENXIO);
}