svn commit: r188078 - head/sys/dev/ipmi

John Baldwin jhb at FreeBSD.org
Tue Feb 3 08:39:52 PST 2009


Author: jhb
Date: Tue Feb  3 16:39:51 2009
New Revision: 188078
URL: http://svn.freebsd.org/changeset/base/188078

Log:
  Don't right-adjust the SMBus slave address for SSIF IPMI BMCs enumerated
  via ACPI either.  This is somewhat academic since we don't currently
  support such devices though.

Modified:
  head/sys/dev/ipmi/ipmi_acpi.c

Modified: head/sys/dev/ipmi/ipmi_acpi.c
==============================================================================
--- head/sys/dev/ipmi/ipmi_acpi.c	Tue Feb  3 16:14:37 2009	(r188077)
+++ head/sys/dev/ipmi/ipmi_acpi.c	Tue Feb  3 16:39:51 2009	(r188078)
@@ -104,7 +104,7 @@ ipmi_acpi_attach(device_t dev)
 	case SSIF_MODE:
 		if (ACPI_FAILURE(acpi_GetInteger(devh, "_ADR", &flags)))
 			return (ENXIO);
-		info.address = flags >> 1;
+		info.address = flags;
 		device_printf(dev, "SSIF interface not supported on ACPI\n");
 		return (0);
 	default:


More information about the svn-src-all mailing list