misc/157903: automated kldload for USB class devices
Hans Petter Selasky
hselasky at c2i.net
Fri Jun 24 13:13:25 UTC 2011
On Friday 24 June 2011 14:59:37 Robert Millan wrote:
> 2011/6/24 Hans Petter Selasky <hselasky at c2i.net>:
> >> Very nice. But why not use variable names instead of hardcoding
> >> numbers? It makes the output much easier to understand.
> >
> > To save memory.
>
> I haven't inspected devd code, but I was under the assumption that
> variables only lived untill resolved. What would be the point of keeping
> them in memory after devd has finished parsing the config files?
Hi,
I haven't checked that, though if you want the readable version, then you need
to check the source code.
However I could add some code to print a vendor ID comment, based on usbdevs.
--HPS
More information about the freebsd-hackers
mailing list