Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141115
b: refs/heads/master
c: a7c0ea6
h: refs/heads/master
i:
  141113: ccc89f9
  141111: b5e75d6
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent 3f93620 commit 49bf928
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d41472746cec1f4d8e5c0ca12f4b1cd3819ea40
refs/heads/master: a7c0ea6e954635c7c9c60a197320e2fd72a42078
15 changes: 8 additions & 7 deletions trunk/drivers/staging/sxg/sxg_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@ static int sxg_nic_set_settings(struct net_device *netdev,
return -EOPNOTSUPP;
}

static int
static void
sxg_nic_get_strings(struct net_device *netdev, u32 stringset, u8 * data)
{
int index;

switch(stringset) {
case ETH_SS_TEST:
return -EOPNOTSUPP;
case ETH_SS_TEST:
/* return -EOPNOTSUPP; */
break;
case ETH_SS_STATS:
for (index = 0; index < SXG_NIC_STATS_LEN; index++) {
Expand Down Expand Up @@ -228,7 +228,7 @@ static int sxg_nic_get_settings(struct net_device *netdev,
return 0;
}

static int sxg_nic_get_rx_csum(struct net_device *netdev)
static u32 sxg_nic_get_rx_csum(struct net_device *netdev)
{
struct adapter_t *adapter = netdev_priv(netdev);
return ((adapter->flags & SXG_RCV_IP_CSUM_ENABLED) ||
Expand Down Expand Up @@ -266,11 +266,12 @@ static void sxg_nic_get_regs(struct net_device *netdev,
memcpy((buff+sizeof(struct sxg_hw_regs)), UcodeRegs, sizeof(struct sxg_ucode_regs));
}

static int sxg_nic_get_wol(struct net_device *netdev,
struct ethtool_wolinfo *wol)
static void sxg_nic_get_wol(struct net_device *netdev,
struct ethtool_wolinfo *wol)
{
/* We dont support wake-on-lan */
return -EOPNOTSUPP;
wol->supported = 0;
memset(&wol->sopass, 0, sizeof(wol->sopass));
}

static int sxg_nic_get_eeprom_len(struct net_device *netdev)
Expand Down

0 comments on commit 49bf928

Please sign in to comment.