aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-06-26 19:15:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-06-26 19:15:43 +0000
commit0aa0d4916957b8d46a68ab4b57f0e4529153f55a (patch)
treea183dd95f57dcb4fb24aa6d55042c541c2564231 /target/linux/generic-2.6/files
parent87420577635a0a4d4e35ec87108dc4a7b9be087b (diff)
downloadupstream-0aa0d4916957b8d46a68ab4b57f0e4529153f55a.tar.gz
upstream-0aa0d4916957b8d46a68ab4b57f0e4529153f55a.tar.bz2
upstream-0aa0d4916957b8d46a68ab4b57f0e4529153f55a.zip
generic: rtl8366: fix register offset and size of MIB counters
SVN-Revision: 21907
Diffstat (limited to 'target/linux/generic-2.6/files')
-rw-r--r--target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c26
-rw-r--r--target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c26
2 files changed, 26 insertions, 26 deletions
diff --git a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
index dcc4d6c921..98c5a0ba85 100644
--- a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
+++ b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
@@ -210,19 +210,19 @@ static struct mib_counter rtl8366rb_mib_counters[RTL8366S_MIB_COUNT] = {
{ 38, 2, "Dot3StatsSymbolErrors " },
{ 40, 2, "Dot3InPauseFrames " },
{ 42, 2, "Dot3ControlInUnknownOpcodes " },
- { 44, 2, "IfOutOctets " },
- { 46, 2, "Dot3StatsSingleCollisionFrames " },
- { 48, 2, "Dot3StatMultipleCollisionFrames " },
- { 50, 2, "Dot3sDeferredTransmissions " },
- { 52, 2, "Dot3StatsLateCollisions " },
- { 54, 2, "EtherStatsCollisions " },
- { 56, 2, "Dot3StatsExcessiveCollisions " },
- { 58, 2, "Dot3OutPauseFrames " },
- { 60, 2, "Dot1dBasePortDelayExceededDiscards" },
- { 62, 2, "Dot1dTpPortInDiscards " },
- { 64, 2, "IfOutUcastPkts " },
- { 66, 2, "IfOutMulticastPkts " },
- { 68, 2, "IfOutBroadcastPkts " },
+ { 44, 4, "IfOutOctets " },
+ { 48, 2, "Dot3StatsSingleCollisionFrames " },
+ { 50, 2, "Dot3StatMultipleCollisionFrames " },
+ { 52, 2, "Dot3sDeferredTransmissions " },
+ { 54, 2, "Dot3StatsLateCollisions " },
+ { 56, 2, "EtherStatsCollisions " },
+ { 58, 2, "Dot3StatsExcessiveCollisions " },
+ { 60, 2, "Dot3OutPauseFrames " },
+ { 62, 2, "Dot1dBasePortDelayExceededDiscards" },
+ { 64, 2, "Dot1dTpPortInDiscards " },
+ { 66, 2, "IfOutUcastPkts " },
+ { 68, 2, "IfOutMulticastPkts " },
+ { 70, 2, "IfOutBroadcastPkts " },
};
static inline struct rtl8366rb *sw_to_rtl8366rb(struct switch_dev *sw)
diff --git a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c
index c8e7dd60b5..26d5c7880b 100644
--- a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c
+++ b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c
@@ -210,19 +210,19 @@ static struct mib_counter rtl8366s_mib_counters[RTL8366S_MIB_COUNT] = {
{ 38, 2, "Dot3StatsSymbolErrors " },
{ 40, 2, "Dot3InPauseFrames " },
{ 42, 2, "Dot3ControlInUnknownOpcodes " },
- { 44, 2, "IfOutOctets " },
- { 46, 2, "Dot3StatsSingleCollisionFrames " },
- { 48, 2, "Dot3StatMultipleCollisionFrames " },
- { 50, 2, "Dot3sDeferredTransmissions " },
- { 52, 2, "Dot3StatsLateCollisions " },
- { 54, 2, "EtherStatsCollisions " },
- { 56, 2, "Dot3StatsExcessiveCollisions " },
- { 58, 2, "Dot3OutPauseFrames " },
- { 60, 2, "Dot1dBasePortDelayExceededDiscards" },
- { 62, 2, "Dot1dTpPortInDiscards " },
- { 64, 2, "IfOutUcastPkts " },
- { 66, 2, "IfOutMulticastPkts " },
- { 68, 2, "IfOutBroadcastPkts " },
+ { 44, 4, "IfOutOctets " },
+ { 48, 2, "Dot3StatsSingleCollisionFrames " },
+ { 50, 2, "Dot3StatMultipleCollisionFrames " },
+ { 52, 2, "Dot3sDeferredTransmissions " },
+ { 54, 2, "Dot3StatsLateCollisions " },
+ { 56, 2, "EtherStatsCollisions " },
+ { 58, 2, "Dot3StatsExcessiveCollisions " },
+ { 60, 2, "Dot3OutPauseFrames " },
+ { 62, 2, "Dot1dBasePortDelayExceededDiscards" },
+ { 64, 2, "Dot1dTpPortInDiscards " },
+ { 66, 2, "IfOutUcastPkts " },
+ { 68, 2, "IfOutMulticastPkts " },
+ { 70, 2, "IfOutBroadcastPkts " },
};
static inline struct rtl8366s *sw_to_rtl8366s(struct switch_dev *sw)