Author: imp
Date: Sat Feb 17 06:57:03 2018
New Revision: 329437
URL: https://svnweb.freebsd.org/changeset/base/329437

Log:
  Fixup minor nits in the PNP_INFO protocol.
  
  Sponsored by: Netflix

Modified:
  head/sys/sys/module.h
  head/usr.sbin/kldxref/kldxref.c

Modified: head/sys/sys/module.h
==============================================================================
--- head/sys/sys/module.h       Sat Feb 17 05:53:41 2018        (r329436)
+++ head/sys/sys/module.h       Sat Feb 17 06:57:03 2018        (r329437)
@@ -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

Modified: head/usr.sbin/kldxref/kldxref.c
==============================================================================
--- head/usr.sbin/kldxref/kldxref.c     Sat Feb 17 05:53:41 2018        
(r329436)
+++ head/usr.sbin/kldxref/kldxref.c     Sat Feb 17 06:57:03 2018        
(r329437)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to