Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2011 15:11:44 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Robert Millan <rmh@debian.org>
Cc:        freebsd-hackers@freebsd.org, freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: misc/157903: automated kldload for USB class devices
Message-ID:  <201106241511.44977.hselasky@c2i.net>
In-Reply-To: <BANLkTinvC=j=wsM7EaKTfA3-R8gji_xkEA@mail.gmail.com>
References:  <201106151523.p5FFN73i075030@red.freebsd.org> <201106241246.51881.hselasky@c2i.net> <BANLkTinvC=j=wsM7EaKTfA3-R8gji_xkEA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 24 June 2011 14:59:37 Robert Millan wrote:
> 2011/6/24 Hans Petter Selasky <hselasky@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106241511.44977.hselasky>