Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 14:42:29 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 195098 for review
Message-ID:  <201106211442.p5LEgTp1020332@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@195098?ac=10

Change 195098 by jhb@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,



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