* [PATCH 0/2] ucc_geth fixes for 2.6.26
@ 2008-05-23 10:11 Li Yang
2008-05-23 10:11 ` [PATCH 1/2] ucc_geth_ethtool: Fix typo Li Yang
0 siblings, 1 reply; 4+ messages in thread
From: Li Yang @ 2008-05-23 10:11 UTC (permalink / raw)
To: jeff; +Cc: netdev, Li Yang
Jeff,
Please apply the following fixes for ucc_geth.
Joakim Tjernlund (1):
ucc_geth_ethtool: Fix typo
Li Yang (1):
ucc_geth_ethtool: Add a missing HW stats counter
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/2] ucc_geth_ethtool: Fix typo
2008-05-23 10:11 [PATCH 0/2] ucc_geth fixes for 2.6.26 Li Yang
@ 2008-05-23 10:11 ` Li Yang
2008-05-23 10:11 ` [PATCH 2/2] ucc_geth_ethtool: Add a missing HW stats counter Li Yang
2008-05-31 2:12 ` [PATCH 1/2] ucc_geth_ethtool: Fix typo Jeff Garzik
0 siblings, 2 replies; 4+ messages in thread
From: Li Yang @ 2008-05-23 10:11 UTC (permalink / raw)
To: jeff; +Cc: netdev, Joakim Tjernlund, Li Yang
From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Li Yang <leoli@freescale.com>
---
drivers/net/ucc_geth_ethtool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index 299b7f1..b84ffd8 100644
--- a/drivers/net/ucc_geth_ethtool.c
+++ b/drivers/net/ucc_geth_ethtool.c
@@ -308,7 +308,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);
}
--
1.5.5.1.248.g4b17
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ucc_geth_ethtool: Add a missing HW stats counter
2008-05-23 10:11 ` [PATCH 1/2] ucc_geth_ethtool: Fix typo Li Yang
@ 2008-05-23 10:11 ` Li Yang
2008-05-31 2:12 ` [PATCH 1/2] ucc_geth_ethtool: Fix typo Jeff Garzik
1 sibling, 0 replies; 4+ messages in thread
From: Li Yang @ 2008-05-23 10:11 UTC (permalink / raw)
To: jeff; +Cc: netdev, Li Yang, Joakim Tjernlund
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Li Yang <leoli@freescale.com>
---
drivers/net/ucc_geth_ethtool.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index b84ffd8..f5839c4 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",
};
--
1.5.5.1.248.g4b17
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 1/2] ucc_geth_ethtool: Fix typo
2008-05-23 10:11 ` [PATCH 1/2] ucc_geth_ethtool: Fix typo Li Yang
2008-05-23 10:11 ` [PATCH 2/2] ucc_geth_ethtool: Add a missing HW stats counter Li Yang
@ 2008-05-31 2:12 ` Jeff Garzik
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2008-05-31 2:12 UTC (permalink / raw)
To: Li Yang; +Cc: netdev, Joakim Tjernlund
Li Yang wrote:
> From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
>
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> Signed-off-by: Li Yang <leoli@freescale.com>
> ---
> drivers/net/ucc_geth_ethtool.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
> index 299b7f1..b84ffd8 100644
> --- a/drivers/net/ucc_geth_ethtool.c
> +++ b/drivers/net/ucc_geth_ethtool.c
> @@ -308,7 +308,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);
applied 1-2
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-31 2:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 10:11 [PATCH 0/2] ucc_geth fixes for 2.6.26 Li Yang
2008-05-23 10:11 ` [PATCH 1/2] ucc_geth_ethtool: Fix typo Li Yang
2008-05-23 10:11 ` [PATCH 2/2] ucc_geth_ethtool: Add a missing HW stats counter Li Yang
2008-05-31 2:12 ` [PATCH 1/2] ucc_geth_ethtool: Fix typo Jeff Garzik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.