More leaves on the device tree ?



Hi,

I'm currently working on USB and I have been thinking about a simple way to
find what devices an USB device creates, and how to easily present that
information to the user.

I know there is "devinfo" and I would like to extend this utility to also show
which devices under /dev belongs to the device.

Implementation:

"make_dev" takes an additional "device_t parent_device" argument and creates a
child device with some magic flags set.

Any comments ?

--HPS
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"