From b03747e983d68eb429d2247cec626828ae9fd8ae Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 15 Jan 2015 00:46:30 +0000 Subject: Reserve and ignore the a new module metadata type MDT_PNP_INFO for associating an optional PNP hint table with this module. In the future, when these are added, these changes will silently ignore the new type they would otherwise warn about. It will always be safe to ignore this data. Get this into the builds today for some future proofing. MFC After: 3 days --- usr.sbin/kldxref/kldxref.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr.sbin/kldxref/kldxref.c') diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c index 73c60045c0fe..c3784eff04eb 100644 --- a/usr.sbin/kldxref/kldxref.c +++ b/usr.sbin/kldxref/kldxref.c @@ -172,6 +172,10 @@ parse_entry(struct mod_metadata *md, const char *cval, record_string(kldname); } break; + case MDT_PNP_INFO: + if (dflag) { + printf(" pnp info for bus %s\n", cval); + } default: warnx("unknown metadata record %d in file %s", md->md_type, kldname); } -- cgit v1.2.3