Date: Thu, 21 May 2009 11:40:33 -0700 From: Sam Leffler <sam@freebsd.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: scottl@samsco.org, src-committers@freebsd.org, jhb@freebsd.org, svn-src-all@freebsd.org, attilio@freebsd.org, svn-src-head@freebsd.org, rwatson@freebsd.org, kostikbel@gmail.com, "M. Warner Losh" <imp@bsdimp.com> Subject: Re: svn commit: r192535 - head/sys/kern Message-ID: <4A15A021.40706@freebsd.org> In-Reply-To: <2070.1242926222@critter.freebsd.dk> References: <2070.1242926222@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> In message <20090521.101537.864824728.imp@bsdimp.com>, "M. Warner Losh" writes:
>
>
>> Right now, the devctl_notify() is what gets it into devd. However,
>> I'd always viewed devd as having multiple event sources and not just
>>
> >from the /dev/devctl device.
>
> Correct, but kqueuing /dev is not nearly as expressiv as devctl,
> where the protocol has space where the device driver could pass
> useful information to devd(8).
>
> For instance, I find the regexp matching of ethernet drivers very,
> very silly: the device driver should just tell devd(8) that it is
> an ethernet, so that we don't have this non-documented registry of
> device driver names.
>
devd checks the media instead of using regex; you're thinking of storage
controllers.
Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A15A021.40706>
