svn commit: r306121 - stable/10/sys/pci

Andriy Gapon avg at FreeBSD.org
Wed Sep 21 16:23:32 UTC 2016


Author: avg
Date: Wed Sep 21 16:23:31 2016
New Revision: 306121
URL: https://svnweb.freebsd.org/changeset/base/306121

Log:
  MFC r305603: intpm: do not try attaching to unsupported controller revisions

Modified:
  stable/10/sys/pci/intpm.c
Directory Properties:
  stable/10/   (props changed)
  stable/10/sys/gnu/dts/   (props changed)

Modified: stable/10/sys/pci/intpm.c
==============================================================================
--- stable/10/sys/pci/intpm.c	Wed Sep 21 16:19:27 2016	(r306120)
+++ stable/10/sys/pci/intpm.c	Wed Sep 21 16:23:31 2016	(r306121)
@@ -104,9 +104,12 @@ intsmb_probe(device_t dev)
 		device_set_desc(dev, "ATI IXP400 SMBus Controller");
 		break;
 	case 0x43851002:
-	case 0x780b1022:	/* AMD Hudson */
-		device_set_desc(dev, "AMD SB600/7xx/8xx SMBus Controller");
-		/* XXX Maybe force polling right here? */
+		device_set_desc(dev, "AMD SB600/7xx/8xx/9xx SMBus Controller");
+		break;
+	case 0x780b1022:	/* AMD FCH */
+		if (pci_get_revid(dev) < 0x40)
+			return (ENXIO);
+		device_set_desc(dev, "AMD FCH SMBus Controller");
 		break;
 	default:
 		return (ENXIO);


More information about the svn-src-all mailing list