Author: jhb Date: Fri Dec 18 00:40:19 2015 New Revision: 292417 URL: https://svnweb.freebsd.org/changeset/base/292417
Log: MFC 290429: When dumping an rman in DDB, include the RID of each resource. Modified: stable/9/share/man/man4/ddb.4 stable/9/sys/kern/subr_rman.c Directory Properties: stable/9/share/man/man4/ (props changed) stable/9/sys/ (props changed) Changes in other areas also in this revision: Modified: stable/10/share/man/man4/ddb.4 stable/10/sys/kern/subr_rman.c Directory Properties: stable/10/ (props changed) Modified: stable/9/share/man/man4/ddb.4 ============================================================================== --- stable/9/share/man/man4/ddb.4 Fri Dec 18 00:33:04 2015 (r292416) +++ stable/9/share/man/man4/ddb.4 Fri Dec 18 00:40:19 2015 (r292417) @@ -60,7 +60,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 16, 2011 +.Dd November 5, 2015 .Dt DDB 4 .Os .Sh NAME @@ -570,8 +570,8 @@ The same as "show pcpu", but for every C .Pp .It Ic show Cm allrman Show information related with resource management, including -interrupt request lines, DMA request lines, I/O ports and I/O memory -addresses. +interrupt request lines, DMA request lines, I/O ports, I/O memory +addresses, and Resource IDs. .\" .Pp .It Ic show Cm apic Modified: stable/9/sys/kern/subr_rman.c ============================================================================== --- stable/9/sys/kern/subr_rman.c Fri Dec 18 00:33:04 2015 (r292416) +++ stable/9/sys/kern/subr_rman.c Fri Dec 18 00:40:19 2015 (r292417) @@ -1047,7 +1047,8 @@ dump_rman(struct rman *rm) devname = "nomatch"; } else devname = NULL; - db_printf(" 0x%lx-0x%lx ", r->r_start, r->r_end); + db_printf(" 0x%lx-0x%lx (RID=%d) ", + r->r_start, r->r_end, r->r_rid); if (devname != NULL) db_printf("(%s)\n", devname); else _______________________________________________ svn-src-stable-9@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-9 To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"