svn commit: r234040 - head/sys/pci
Andriy Gapon
avg at FreeBSD.org
Sun Apr 8 19:58:39 UTC 2012
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;
More information about the svn-src-all
mailing list