Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2012 19:58:38 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234040 - head/sys/pci
Message-ID:  <201204081958.q38JwcZc026017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Sun Apr  8 19:58:38 2012
New Revision: 234040
URL: http://svn.freebsd.org/changeset/base/234040

Log:
  intpm: reflect the fact that SB800 and later AMD chipsets are not supported
  
  They do not have compatible configuration registers in PCI configuration
  space.  Instead their configuration resides in AMD "PM I/O" space
  (accessed via a pair of I/O space registers).
  
  MFC after:	5 days

Modified:
  head/sys/pci/intpm.c

Modified: head/sys/pci/intpm.c
==============================================================================
--- head/sys/pci/intpm.c	Sun Apr  8 18:25:12 2012	(r234039)
+++ head/sys/pci/intpm.c	Sun Apr  8 19:58:38 2012	(r234040)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204081958.q38JwcZc026017>