Re: More leaves on the device tree ?
- From: "Poul-Henning Kamp" <phk@xxxxxxxxxxxxxx>
- Date: Sun, 23 Dec 2007 07:44:46 +0000
In message <20071222.234526.246317277.imp@xxxxxxxxxx>, "M. Warner Losh" writes:
In message: <200712202005.33263.hselasky@xxxxxxx>
Hans Petter Selasky <hselasky@xxxxxxx> writes:
: "make_dev" takes an additional "device_t parent_device" argument and creates a
: child device with some magic flags set.
What do you do for all the devices in /dev/ for which there is no
device_t parent?
I second Warners comments here.
device_t is a handle for a hardware, dev_t is for a device in /dev,
they are very different thing and have no reasonable mapping between
them ([0..N]:[0..M])
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@xxxxxxxxxxx | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: More leaves on the device tree ?
- From: Hans Petter Selasky
- Re: More leaves on the device tree ?
- References:
- Re: More leaves on the device tree ?
- From: M. Warner Losh
- Re: More leaves on the device tree ?
- Prev by Date: Re: More leaves on the device tree ?
- Next by Date: Re: More leaves on the device tree ?
- Previous by thread: Re: More leaves on the device tree ?
- Next by thread: Re: More leaves on the device tree ?
- Index(es):