svn commit: r200091 - head/sys/dev/ichsmb

Andriy Gapon avg at FreeBSD.org
Fri Dec 4 05:45:46 UTC 2009


Author: avg
Date: Fri Dec  4 05:45:46 2009
New Revision: 200091
URL: http://svn.freebsd.org/changeset/base/200091

Log:
  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)

Modified:
  head/sys/dev/ichsmb/ichsmb_pci.c

Modified: head/sys/dev/ichsmb/ichsmb_pci.c
==============================================================================
--- head/sys/dev/ichsmb/ichsmb_pci.c	Fri Dec  4 05:31:40 2009	(r200090)
+++ head/sys/dev/ichsmb/ichsmb_pci.c	Fri Dec  4 05:45:46 2009	(r200091)
@@ -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);
 	}
 


More information about the svn-src-all mailing list