PERFORCE change 195098 for review

John Baldwin jhb at FreeBSD.org
Tue Jun 21 14:42:30 UTC 2011


http://p4web.freebsd.org/@@195098?ac=10

Change 195098 by jhb at jhb_pipkin on 2011/06/21 14:42:04

	Compile.

Affected files ...

.. //depot/projects/pci/sys/dev/acpica/acpi_pcib_acpi.c#22 edit

Differences ...

==== //depot/projects/pci/sys/dev/acpica/acpi_pcib_acpi.c#22 (text+ko) ====

@@ -211,10 +211,6 @@
 		    res->Data.Address.MinAddressFixed != ACPI_ADDRESS_FIXED ||
 		    res->Data.Address.MaxAddressFixed != ACPI_ADDRESS_FIXED)
 			break;
-		if (min + length - 1 == max)
-			device_printf(sc->ap_dev,
-			    "Length mismatch for %d range: %jx vs %jx\n",
-			    (uintmax_t)max - min + 1, (uintmax_t)length);
 		flags = 0;
 		switch (res->Data.Address.ResourceType) {
 		case ACPI_MEMORY_RANGE:
@@ -249,6 +245,10 @@
 			    type, (uintmax_t)min, (uintmax_t)max);
 			break;
 		}
+		if (min + length - 1 == max)
+			device_printf(sc->ap_dev,
+			    "Length mismatch for %d range: %jx vs %jx\n", type,
+			    (uintmax_t)max - min + 1, (uintmax_t)length);
 #ifdef __i386__
 		if (min > ULONG_MAX) {
 			device_printf(sc->ap_dev,


More information about the p4-projects mailing list