Netdev List
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: Hariprasad S <hariprasad@chelsio.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"davem@davemloft.net" <davem@davemloft.net>,
	Nirranjan Kirubaharan <nirranjan@chelsio.com>,
	Casey Leedom <leedom@chelsio.com>,
	Kumar A S <kumaras@chelsio.com>
Subject: Re: query: Can ethtool be used to print Expansion ROM version of the adapter?
Date: Wed, 28 Jan 2015 03:52:41 +0000	[thread overview]
Message-ID: <1422417161.2709.10.camel@decadent.org.uk> (raw)
In-Reply-To: <26E3F92EC670BD429DB5CB319D773C13C7FE19@nice.asicdesigners.com>

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

      reply	other threads:[~2015-01-28  3:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28  2:18 query: Can ethtool be used to print Expansion ROM version of the adapter? Hariprasad S
2015-01-28  3:52 ` Ben Hutchings [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422417161.2709.10.camel@decadent.org.uk \
    --to=ben@decadent.org.uk \
    --cc=davem@davemloft.net \
    --cc=hariprasad@chelsio.com \
    --cc=kumaras@chelsio.com \
    --cc=leedom@chelsio.com \
    --cc=netdev@vger.kernel.org \
    --cc=nirranjan@chelsio.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox