svn commit: r234214 - in stable/8/sys: i386/conf pci

Andriy Gapon avg at FreeBSD.org
Fri Apr 13 08:04:01 UTC 2012


Author: avg
Date: Fri Apr 13 08:04:00 2012
New Revision: 234214
URL: http://svn.freebsd.org/changeset/base/234214

Log:
  MFC r234040: intpm: reflect the fact that SB800 and later AMD chipsets
  are not supported

Modified:
  stable/8/sys/pci/intpm.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/boot/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)
  stable/8/sys/i386/conf/XENHVM   (props changed)

Modified: stable/8/sys/pci/intpm.c
==============================================================================
--- stable/8/sys/pci/intpm.c	Fri Apr 13 08:01:34 2012	(r234213)
+++ stable/8/sys/pci/intpm.c	Fri Apr 13 08:04:00 2012	(r234214)
@@ -99,6 +99,9 @@ intsmb_probe(device_t dev)
 		device_set_desc(dev, "Intel PIIX4 SMBUS Interface");
 		break;
 	case 0x43851002:
+		/* SB800 and newer can not be configured in a compatible way. */
+		if (pci_get_revid(dev) >= 0x40)
+			return (ENXIO);
 		device_set_desc(dev, "AMD SB600/700/710/750 SMBus Controller");
 		/* XXX Maybe force polling right here? */
 		break;


More information about the svn-src-all mailing list