svn commit: r209106 - in head/sys: kern sys

Ed Schouten ed at 80386.nl
Wed Jun 16 22:16:13 UTC 2010


Hi Kostik,

* Konstantin Belousov <kib at FreeBSD.org> wrote:
> Log:
>   Add another variation of make_dev(9), make_dev_p(9), that is allowed
>   to fail and can return useful error code.

While we're at it, couldn't we consider removing the `unit' argument
from this function? Nowadays unit numbers are mainly useful when using
clone lists, which have been almost entirely obsoleted by cdevpriv. We
could just call make_dev_credv with unit == 0.

Cheers,
-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20100616/c2dadfa7/attachment.pgp


More information about the svn-src-head mailing list