svn commit: r296141 - head/sys/powerpc/mpc85xx

Justin Hibbits jhibbits at FreeBSD.org
Sat Feb 27 16:27:50 UTC 2016


Author: jhibbits
Date: Sat Feb 27 16:27:48 2016
New Revision: 296141
URL: https://svnweb.freebsd.org/changeset/base/296141

Log:
  Move another range check to use RMAN_IS_DEFAULT_RANGE().

Modified:
  head/sys/powerpc/mpc85xx/lbc.c

Modified: head/sys/powerpc/mpc85xx/lbc.c
==============================================================================
--- head/sys/powerpc/mpc85xx/lbc.c	Sat Feb 27 14:45:32 2016	(r296140)
+++ head/sys/powerpc/mpc85xx/lbc.c	Sat Feb 27 16:27:48 2016	(r296141)
@@ -674,7 +674,7 @@ lbc_alloc_resource(device_t bus, device_
 	int needactivate;
 
 	/* We only support default allocations. */
-	if (start != 0ul || end != ~0ul)
+	if (!RMAN_IS_DEFAULT_RANGE(start, end))
 		return (NULL);
 
 	sc = device_get_softc(bus);


More information about the svn-src-head mailing list