diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2012-11-27 23:34:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-28 11:07:43 -0500 |
commit | ec079a07db570ec6ba333525cc43805163bcb043 (patch) | |
tree | 4b850bb2791521ef7b1ef66e84755f8c79f8857c /drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | |
parent | d17dd0d9dfb235952c62703ffd34c5bf05257e4d (diff) |
qlcnic: create file qlcnic_sysfs.c for sysfs routines
Physical refactoring of 82xx adapter sysfs routines.
Move sysfs routines to new file qlcnic_sysfs.c
Existing sysfs routines has coding style issues, this code is
moved to the new file without fixing the style issues.
There is a seperate patch to fix the style issues in qlcnic_sysfs.c
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index db4508fa5c93..618e5ec5506c 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | |||
@@ -1566,6 +1566,17 @@ void qlcnic_free_sds_rings(struct qlcnic_recv_context *); | |||
1566 | void qlcnic_free_tx_rings(struct qlcnic_adapter *); | 1566 | void qlcnic_free_tx_rings(struct qlcnic_adapter *); |
1567 | int qlcnic_alloc_tx_rings(struct qlcnic_adapter *, struct net_device *); | 1567 | int qlcnic_alloc_tx_rings(struct qlcnic_adapter *, struct net_device *); |
1568 | 1568 | ||
1569 | void qlcnic_create_sysfs_entries(struct qlcnic_adapter *adapter); | ||
1570 | void qlcnic_remove_sysfs_entries(struct qlcnic_adapter *adapter); | ||
1571 | void qlcnic_create_diag_entries(struct qlcnic_adapter *adapter); | ||
1572 | void qlcnic_remove_diag_entries(struct qlcnic_adapter *adapter); | ||
1573 | int qlcnicvf_config_bridged_mode(struct qlcnic_adapter *, u32); | ||
1574 | int qlcnicvf_config_led(struct qlcnic_adapter *, u32, u32); | ||
1575 | void qlcnic_set_vlan_config(struct qlcnic_adapter *, | ||
1576 | struct qlcnic_esw_func_cfg *); | ||
1577 | void qlcnic_set_eswitch_port_features(struct qlcnic_adapter *, | ||
1578 | struct qlcnic_esw_func_cfg *); | ||
1579 | |||
1569 | /* | 1580 | /* |
1570 | * QLOGIC Board information | 1581 | * QLOGIC Board information |
1571 | */ | 1582 | */ |