Re: How to find version number of eepro100 thats loaded
Donald Becker <[email protected]> Fri, 11 Apr 2003 12:20:19 -0400 (EDT)
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 11 Apr 2003, Paul J. Sala wrote: > I need to force 100 full duplex for my eepro100 driver. > At: http://www.scyld.com/network/eepro100.html > It states the transceiver options. But I need to know if my driver > is 1.15 or greater or 1.14 or less so I know which syntax to use. ... > static const char *version = > "eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100 > .html\n" > "eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin > <[email protected]> and others\n"; This is v1.09, with 36 noted modifications. There are It may not have the semantics of the original v1.09. > I tried using "eepro-diag -v eth0" but it does not show the > version number. The eepro-diag program shows only the hardware state. It has no direct interaction with the driver, although it may indirectly interface with something the driver was doing to the hardware. > Is there a way to query the eepro100 version number from the command line? The easiest way is to use 'dmesg' after the driver is loaded. I use 'strings' on the eepro100.o file. Someday 'modinfo' might add a field to report this information. I've considered putting the version in the description field. This may be a Bad Idea, as some script may rely on identical descriptions. -- Donald Becker [email protected] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Scyld Beowulf cluster system Annapolis MD 21403 410-990-9993