From: Stephen Hemminger <shemminger@vyatta.com>
To: Jesse Barnes <jbarnes@virtuousgeek.org>,
Ben Hutchings <bhutchings@solarflare.com>
Cc: linux-pci@vger.kernel.org, netdev@vger.kernel.org
Subject: [PATCH 2/4] sky2: add more generic ethtool hooks
Date: Thu, 04 Sep 2008 13:56:41 -0700 [thread overview]
Message-ID: <20080904205718.902156207@vyatta.com> (raw)
In-Reply-To: 20080904205636.130211321@vyatta.com
[-- Attachment #1: sky2-ethtool-ops.patch --]
[-- Type: text/plain, Size: 889 bytes --]
Add support for some missing status queries.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/drivers/net/sky2.c 2008-09-04 11:48:30.000000000 -0700
+++ b/drivers/net/sky2.c 2008-09-04 11:48:31.000000000 -0700
@@ -3840,7 +3840,9 @@ static const struct ethtool_ops sky2_eth
.get_eeprom_len = sky2_get_eeprom_len,
.get_eeprom = sky2_get_eeprom,
.set_eeprom = sky2_set_eeprom,
+ .get_sg = ethtool_op_get_sg,
.set_sg = ethtool_op_set_sg,
+ .get_tx_csum = ethtool_op_get_tx_csum,
.set_tx_csum = sky2_set_tx_csum,
.set_tso = sky2_set_tso,
.get_rx_csum = sky2_get_rx_csum,
@@ -3855,6 +3857,8 @@ static const struct ethtool_ops sky2_eth
.phys_id = sky2_phys_id,
.get_sset_count = sky2_get_sset_count,
.get_ethtool_stats = sky2_get_ethtool_stats,
+ .get_flags = ethtool_op_get_flags,
+ .get_ufo = ethtool_op_get_ufo,
};
#ifdef CONFIG_SKY2_DEBUG
--
next prev parent reply other threads:[~2008-09-04 20:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080904205636.130211023@vyatta.com>
2008-09-04 20:56 ` [PATCH 0/4] PCI VPD changes Stephen Hemminger
2008-09-04 20:56 ` [PATCH 1/4] sky2: set VPD size Stephen Hemminger
2008-09-04 20:56 ` Stephen Hemminger [this message]
2008-09-04 20:56 ` [PATCH 3/4] sky2: move VPD display into debug interface Stephen Hemminger
2008-09-04 20:56 ` [PATCH 4/4] sky2: remove VPD eeprom Stephen Hemminger
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=20080904205718.902156207@vyatta.com \
--to=shemminger@vyatta.com \
--cc=bhutchings@solarflare.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-pci@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).