diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-18 23:03:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-20 04:30:44 -0400 |
commit | 135d84a9f28854f875f32f97485737b0013c99d6 (patch) | |
tree | 5e42b4b9321c7a69908090efde029517cc868191 /drivers/net/qlcnic/qlcnic.h | |
parent | b9367bf3ee6da380e0c338bd75bb8e8e4e0b981b (diff) |
net: qlcnic: convert to hw_features
Bit more than minimal conversion. There might be some issues because
of qlcnic_set_netdev_features() if it's called after netdev init.
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/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index e5d30538f373..fa5b15c474b0 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h | |||
@@ -926,7 +926,6 @@ struct qlcnic_adapter { | |||
926 | u8 max_rds_rings; | 926 | u8 max_rds_rings; |
927 | u8 max_sds_rings; | 927 | u8 max_sds_rings; |
928 | u8 msix_supported; | 928 | u8 msix_supported; |
929 | u8 rx_csum; | ||
930 | u8 portnum; | 929 | u8 portnum; |
931 | u8 physical_port; | 930 | u8 physical_port; |
932 | u8 reset_context; | 931 | u8 reset_context; |
@@ -1247,6 +1246,8 @@ void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup); | |||
1247 | 1246 | ||
1248 | int qlcnic_fw_cmd_set_mtu(struct qlcnic_adapter *adapter, int mtu); | 1247 | int qlcnic_fw_cmd_set_mtu(struct qlcnic_adapter *adapter, int mtu); |
1249 | int qlcnic_change_mtu(struct net_device *netdev, int new_mtu); | 1248 | int qlcnic_change_mtu(struct net_device *netdev, int new_mtu); |
1249 | u32 qlcnic_fix_features(struct net_device *netdev, u32 features); | ||
1250 | int qlcnic_set_features(struct net_device *netdev, u32 features); | ||
1250 | int qlcnic_config_hw_lro(struct qlcnic_adapter *adapter, int enable); | 1251 | int qlcnic_config_hw_lro(struct qlcnic_adapter *adapter, int enable); |
1251 | int qlcnic_config_bridged_mode(struct qlcnic_adapter *adapter, u32 enable); | 1252 | int qlcnic_config_bridged_mode(struct qlcnic_adapter *adapter, u32 enable); |
1252 | int qlcnic_send_lro_cleanup(struct qlcnic_adapter *adapter); | 1253 | int qlcnic_send_lro_cleanup(struct qlcnic_adapter *adapter); |