diff options
| author | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-11 14:36:25 +0100 | 
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-11 14:36:25 +0100 | 
| commit | a8931ef380c92d121ae74ecfb03b2d63f72eea6f (patch) | |
| tree | 980fb6b019e11e6cb1ece55b7faff184721a8053 /drivers/net/ucc_geth_ethtool.c | |
| parent | 90574d0a4d4b73308ae54a2a57a4f3f1fa98e984 (diff) | |
| parent | e5a5816f7875207cb0a0a7032e39a4686c5e10a4 (diff) | |
| download | olio-linux-3.10-a8931ef380c92d121ae74ecfb03b2d63f72eea6f.tar.xz olio-linux-3.10-a8931ef380c92d121ae74ecfb03b2d63f72eea6f.zip  | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/net/ucc_geth_ethtool.c')
| -rw-r--r-- | drivers/net/ucc_geth_ethtool.c | 9 | 
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c index 9a9622c13e2..f5839c4a5cb 100644 --- a/drivers/net/ucc_geth_ethtool.c +++ b/drivers/net/ucc_geth_ethtool.c @@ -73,6 +73,7 @@ static char tx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {  	"tx-frames-ok",  	"tx-excessive-differ-frames",  	"tx-256-511-frames", +	"tx-512-1023-frames",  	"tx-1024-1518-frames",  	"tx-jumbo-frames",  }; @@ -108,12 +109,6 @@ static char rx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {  #define UEC_TX_FW_STATS_LEN ARRAY_SIZE(tx_fw_stat_gstrings)  #define UEC_RX_FW_STATS_LEN ARRAY_SIZE(rx_fw_stat_gstrings) -extern int init_flow_control_params(u32 automatic_flow_control_mode, -		int rx_flow_control_enable, -		int tx_flow_control_enable, u16 pause_period, -		u16 extension_field, volatile u32 *upsmr_register, -		volatile u32 *uempr_register, volatile u32 *maccfg1_register); -  static int  uec_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd)  { @@ -314,7 +309,7 @@ static void uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf)  		buf += UEC_TX_FW_STATS_LEN * ETH_GSTRING_LEN;  	}  	if (stats_mode & UCC_GETH_STATISTICS_GATHERING_MODE_FIRMWARE_RX) -		memcpy(buf, tx_fw_stat_gstrings, UEC_RX_FW_STATS_LEN * +		memcpy(buf, rx_fw_stat_gstrings, UEC_RX_FW_STATS_LEN *  			       	ETH_GSTRING_LEN);  }  |