query: Can ethtool be used to print Expansion ROM version of the adapter?

2 messages, 2 authors, 2015-01-28 · open the first message on its own page

query: Can ethtool be used to print Expansion ROM version of the adapter?

From: Hariprasad S <hidden>
Date: 2015-01-28 02:18:50

Hi,

For printing the Expansion ROM version of the adapter, we were thinking if ethtool
could be used for it ?
There are fields in ethtool_drvinfo to display fw_version and driver_version. Also,
there are two reserved fields present. Are these two reserved fields already in use ?
Could anyone of the reserved field be used to print the custom adapter info like
Expansion ROM version ?

Thanks,
Hariprasad Shenai

Re: query: Can ethtool be used to print Expansion ROM version of the adapter?

From: Ben Hutchings <hidden>
Date: 2015-01-28 03:52:53

On Wed, 2015-01-28 at 02:18 +0000, Hariprasad S wrote:
Hi,

For printing the Expansion ROM version of the adapter, we were thinking if ethtool
could be used for it ?
There are fields in ethtool_drvinfo to display fw_version and driver_version. Also,
there are two reserved fields present. Are these two reserved fields already in use ?
Could anyone of the reserved field be used to print the custom adapter info like
Expansion ROM version ?
Yes, I think reserved1 could be used for this.  But you should rename it
in the header and update the comment to indicate what it's now being
used for.

Ben.

-- 
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help