More leaves on the device tree ?
Hans Petter Selasky
hselasky at c2i.net
Thu Dec 20 12:04:59 PST 2007
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
More information about the freebsd-arch
mailing list