Module Name:    src
Committed By:   pgoyette
Date:           Wed Aug 19 03:39:45 UTC 2015

Modified Files:
        src/usr.bin/config: TODO

Log Message:
Insert comment regarding PR/48571 so it doesn't get lost.

        config(1) ioconf is insufficient for pseudo-devices

config_{init,fini}_component


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/config/TODO

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/config/TODO
diff -u src/usr.bin/config/TODO:1.17 src/usr.bin/config/TODO:1.18
--- src/usr.bin/config/TODO:1.17	Wed Aug 19 03:23:34 2015
+++ src/usr.bin/config/TODO	Wed Aug 19 03:39:45 2015
@@ -304,3 +304,15 @@ o Convert pseudo(dev) attach functions t
   pseudo attach functions have no choice when to be called.  This could
   be solved by converting to kctors, where functions are called in order
   by dependency.
+
+o Enhance ioconf behavior for pseudo-devices
+
+  See "bin/48571: config(1) ioconf is insufficient for pseudo-devices" for
+  more details.  In a nutshell, it would be "useful" for config to emit
+  the necessary stuff in the generated ioconf.[ch] to enable use of
+  config_{init,fini}_component() for attaching and detaching pseudodev's.
+
+  Currently, you need to manually construct your own data structures, and
+  manually "attach" them, one at a time.  This leads to duplication of
+  code (where multiple drivers contain the same basic logic), and doesn't
+  necessarily handle all of the "frobbing" of the kernel lists.

Reply via email to