aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r--drivers/net/cxgb3/common.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h
index fe08a004b0dd..5ccb77d078aa 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -673,7 +673,6 @@ void t3_xgm_intr_enable(struct adapter *adapter, int idx);
673void t3_xgm_intr_disable(struct adapter *adapter, int idx); 673void t3_xgm_intr_disable(struct adapter *adapter, int idx);
674void t3_port_intr_enable(struct adapter *adapter, int idx); 674void t3_port_intr_enable(struct adapter *adapter, int idx);
675void t3_port_intr_disable(struct adapter *adapter, int idx); 675void t3_port_intr_disable(struct adapter *adapter, int idx);
676void t3_port_intr_clear(struct adapter *adapter, int idx);
677int t3_slow_intr_handler(struct adapter *adapter); 676int t3_slow_intr_handler(struct adapter *adapter);
678int t3_phy_intr_handler(struct adapter *adapter); 677int t3_phy_intr_handler(struct adapter *adapter);
679 678
@@ -689,14 +688,10 @@ int t3_check_tpsram_version(struct adapter *adapter);
689int t3_check_tpsram(struct adapter *adapter, const u8 *tp_ram, 688int t3_check_tpsram(struct adapter *adapter, const u8 *tp_ram,
690 unsigned int size); 689 unsigned int size);
691int t3_set_proto_sram(struct adapter *adap, const u8 *data); 690int t3_set_proto_sram(struct adapter *adap, const u8 *data);
692int t3_read_flash(struct adapter *adapter, unsigned int addr,
693 unsigned int nwords, u32 *data, int byte_oriented);
694int t3_load_fw(struct adapter *adapter, const u8 * fw_data, unsigned int size); 691int t3_load_fw(struct adapter *adapter, const u8 * fw_data, unsigned int size);
695int t3_get_fw_version(struct adapter *adapter, u32 *vers); 692int t3_get_fw_version(struct adapter *adapter, u32 *vers);
696int t3_check_fw_version(struct adapter *adapter); 693int t3_check_fw_version(struct adapter *adapter);
697int t3_init_hw(struct adapter *adapter, u32 fw_params); 694int t3_init_hw(struct adapter *adapter, u32 fw_params);
698void mac_prep(struct cmac *mac, struct adapter *adapter, int index);
699void early_hw_init(struct adapter *adapter, const struct adapter_info *ai);
700int t3_reset_adapter(struct adapter *adapter); 695int t3_reset_adapter(struct adapter *adapter);
701int t3_prep_adapter(struct adapter *adapter, const struct adapter_info *ai, 696int t3_prep_adapter(struct adapter *adapter, const struct adapter_info *ai,
702 int reset); 697 int reset);
@@ -706,8 +701,6 @@ void t3_fatal_err(struct adapter *adapter);
706void t3_set_vlan_accel(struct adapter *adapter, unsigned int ports, int on); 701void t3_set_vlan_accel(struct adapter *adapter, unsigned int ports, int on);
707void t3_config_rss(struct adapter *adapter, unsigned int rss_config, 702void t3_config_rss(struct adapter *adapter, unsigned int rss_config,
708 const u8 * cpus, const u16 *rspq); 703 const u8 * cpus, const u16 *rspq);
709int t3_read_rss(struct adapter *adapter, u8 * lkup, u16 *map);
710int t3_mps_set_active_ports(struct adapter *adap, unsigned int port_mask);
711int t3_cim_ctl_blk_read(struct adapter *adap, unsigned int addr, 704int t3_cim_ctl_blk_read(struct adapter *adap, unsigned int addr,
712 unsigned int n, unsigned int *valp); 705 unsigned int n, unsigned int *valp);
713int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n, 706int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n,
@@ -731,19 +724,12 @@ void t3_mc5_prep(struct adapter *adapter, struct mc5 *mc5, int mode);
731int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters, 724int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters,
732 unsigned int nroutes); 725 unsigned int nroutes);
733void t3_mc5_intr_handler(struct mc5 *mc5); 726void t3_mc5_intr_handler(struct mc5 *mc5);
734int t3_read_mc5_range(const struct mc5 *mc5, unsigned int start, unsigned int n,
735 u32 *buf);
736 727
737int t3_tp_set_coalescing_size(struct adapter *adap, unsigned int size, int psh);
738void t3_tp_set_max_rxsize(struct adapter *adap, unsigned int size);
739void t3_tp_set_offload_mode(struct adapter *adap, int enable); 728void t3_tp_set_offload_mode(struct adapter *adap, int enable);
740void t3_tp_get_mib_stats(struct adapter *adap, struct tp_mib_stats *tps); 729void t3_tp_get_mib_stats(struct adapter *adap, struct tp_mib_stats *tps);
741void t3_load_mtus(struct adapter *adap, unsigned short mtus[NMTUS], 730void t3_load_mtus(struct adapter *adap, unsigned short mtus[NMTUS],
742 unsigned short alpha[NCCTRL_WIN], 731 unsigned short alpha[NCCTRL_WIN],
743 unsigned short beta[NCCTRL_WIN], unsigned short mtu_cap); 732 unsigned short beta[NCCTRL_WIN], unsigned short mtu_cap);
744void t3_read_hw_mtus(struct adapter *adap, unsigned short mtus[NMTUS]);
745void t3_get_cong_cntl_tab(struct adapter *adap,
746 unsigned short incr[NMTUS][NCCTRL_WIN]);
747void t3_config_trace_filter(struct adapter *adapter, 733void t3_config_trace_filter(struct adapter *adapter,
748 const struct trace_params *tp, int filter_index, 734 const struct trace_params *tp, int filter_index,
749 int invert, int enable); 735 int invert, int enable);
@@ -769,10 +755,6 @@ int t3_sge_enable_ecntxt(struct adapter *adapter, unsigned int id, int enable);
769int t3_sge_disable_fl(struct adapter *adapter, unsigned int id); 755int t3_sge_disable_fl(struct adapter *adapter, unsigned int id);
770int t3_sge_disable_rspcntxt(struct adapter *adapter, unsigned int id); 756int t3_sge_disable_rspcntxt(struct adapter *adapter, unsigned int id);
771int t3_sge_disable_cqcntxt(struct adapter *adapter, unsigned int id); 757int t3_sge_disable_cqcntxt(struct adapter *adapter, unsigned int id);
772int t3_sge_read_ecntxt(struct adapter *adapter, unsigned int id, u32 data[4]);
773int t3_sge_read_fl(struct adapter *adapter, unsigned int id, u32 data[4]);
774int t3_sge_read_cq(struct adapter *adapter, unsigned int id, u32 data[4]);
775int t3_sge_read_rspq(struct adapter *adapter, unsigned int id, u32 data[4]);
776int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op, 758int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op,
777 unsigned int credits); 759 unsigned int credits);
778 760