svn commit: r192535 - head/sys/kern
M. Warner Losh
imp at bsdimp.com
Thu May 21 20:44:42 UTC 2009
In message: <2070.1242926222 at critter.freebsd.dk>
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
: In message <20090521.101537.864824728.imp at 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).
It could, but right now it doesn't.
: 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.
We don't use the ethernet driver regex any more, since we base it all
on interface arrival in ifnet layer...
More information about the svn-src-all