On Wed, 28 Sep 2005, Bill Rees wrote:

> Randy.Dunlap wrote:
> 
> >On Wed, 28 Sep 2005, Bill Rees wrote:
> >
> >  
> >
> >>Hi All,
> >>
> >>First of all, are driver versions located anywhere in the sysfs tree?
> >>I've looked through the code of some devices and didn't see any.  What
> >>I'ld like to do is add a software driver version to the sysfs tree but
> >>don't know the proper location to do so.  I'm thinking of
> >>/sys/modules/<module name>/version.  Does this work for everybody?
> >>    
> >>
> >
> >why do it in the kernel at all vs. using 'modinfo'?
> >
> >  
> >
> Besides, the version info I get from modinfo doesn't seem to correlate 
> with the driver version at all.

What driver versions are you talking about?  Many drivers don't have real 
version numbers.  At least, not ones that are updated religiously.  That 
more or less stopped when Bitkeeper was adopted.

Besides, the kernel version alone should suffice to identify the version
of every driver within it.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to