Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 20:05:32 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-arch@freebsd.org
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, Alfred Perlstein <alfred@freebsd.org>
Subject:   More leaves on the device tree ?
Message-ID:  <200712202005.33263.hselasky@c2i.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712202005.33263.hselasky>