Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2005 20:10:00 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 71490 for review
Message-ID:  <200502212010.j1LKA0kT059703@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=71490

Change 71490 by jmg@jmg_carbon on 2005/02/21 20:09:14

	expand the debuging printf's for rman a bit more...
	
	MFP4 after:	1 week

Affected files ...

.. //depot/projects/arm/src/sys/kern/subr_rman.c#2 edit

Differences ...

==== //depot/projects/arm/src/sys/kern/subr_rman.c#2 (text+ko) ====

@@ -191,9 +191,10 @@
 
 	rv = 0;
 
-	DPRINTF(("rman_reserve_resource: <%s> request: [%#lx, %#lx], length "
-	       "%#lx, flags %u, device %s\n", rm->rm_descr, start, end, count,
-	       flags, dev == NULL ? "<null>" : device_get_nameunit(dev)));
+	DPRINTF(("rman_reserve_resource_bound: <%s> request: [%#lx, %#lx], "
+	       "length %#lx, bound: %#lx, flags %u, device %s\n", rm->rm_descr,
+	       start, end, count, bound, flags,
+	       dev == NULL ? "<null>" : device_get_nameunit(dev)));
 	want_activate = (flags & RF_ACTIVE);
 	flags &= ~RF_ACTIVE;
 
@@ -599,6 +600,8 @@
 	int	rv;
 	struct	rman *rm = r->r_rm;
 
+	DPRINTF(("rman_release_resource: [%#lx, %#lx], flags: %d\n",
+	       r->r_start, r->r_end, r->r_flags));
 	mtx_lock(rm->rm_mtx);
 	rv = int_rman_release_resource(rm, r);
 	mtx_unlock(rm->rm_mtx);



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