aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be.h
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-06 22:43:48 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-07 23:16:57 -0400
commit6332c8d3a5e352fae854cbcac764622e083461e5 (patch)
tree7ee794566dacb78150064e89e753d925af6e32b1 /drivers/net/benet/be.h
parente92702b1046a418a562878b22f92433517760921 (diff)
net: benet: convert to hw_features
Simple conversion. This also fixes a bug in TX checksum toggling --- driver was changing NETIF_F_HW_CSUM instead of NETIF_F_IP_CSUM+NETIF_F_IPV6_CSUM. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r--drivers/net/benet/be.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h
index d2c42f5d5e9e..a0b4743d7224 100644
--- a/drivers/net/benet/be.h
+++ b/drivers/net/benet/be.h
@@ -307,7 +307,6 @@ struct be_adapter {
307 u16 work_counter; 307 u16 work_counter;
308 308
309 /* Ethtool knobs and info */ 309 /* Ethtool knobs and info */
310 bool rx_csum; /* BE card must perform rx-checksumming */
311 char fw_ver[FW_VER_LEN]; 310 char fw_ver[FW_VER_LEN];
312 u32 if_handle; /* Used to configure filtering */ 311 u32 if_handle; /* Used to configure filtering */
313 u32 pmac_id; /* MAC addr handle used by BE card */ 312 u32 pmac_id; /* MAC addr handle used by BE card */