From addcef0a8c5588b12cfe18879a9a579c72960e13 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 17 Feb 2018 06:57:03 +0000 Subject: [PATCH] Fixup minor nits in the PNP_INFO protocol. Sponsored by: Netflix --- sys/sys/module.h | 2 +- usr.sbin/kldxref/kldxref.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/sys/module.h b/sys/sys/module.h index eb8b03d83ba7..c3f8dc3cfb13 100644 --- a/sys/sys/module.h +++ b/sys/sys/module.h @@ -201,7 +201,7 @@ struct mod_pnp_match_info * D pointer to a string to human readable description for device * P A pointer that should be ignored * E EISA PNP Identifier (in binary, but bus publishes string) - * K Key for whole table. pnp_name=value. must be last, if present. + * T Key for whole table. pnp_name=value. must be last, if present. * * The pnp_name "#" is reserved for other fields that should be ignored. * Otherwise pnp_name must match the name from the parent device's pnpinfo diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c index dc0547a52ed4..2af995ccb684 100644 --- a/usr.sbin/kldxref/kldxref.c +++ b/usr.sbin/kldxref/kldxref.c @@ -213,12 +213,12 @@ typedef TAILQ_HEAD(pnp_head, pnp_elt) pnp_list; * type Output Meaning * I uint32_t Integer equality comparison * J uint32_t Pair of uint16_t fields converted to native - byte order. The two fields both must match. + * byte order. The two fields both must match. * G uint32_t Greater than or equal to * L uint32_t Less than or equal to * M uint32_t Mask of which fields to test. Fields that - take up space increment the count. This - field must be first, and resets the count. + * take up space increment the count. This + * field must be first, and resets the count. * D string Description of the device this pnp info is for * Z string pnp string must match this * T nothing T fields set pnp values that must be true for