1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

backfire: generic: rtl8366: use common rtl8366_mib_counter structure (backport of 21982)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22028 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2010-07-01 18:08:39 +00:00
parent 1a7ad13e99
commit 1f92e5b0fc
3 changed files with 42 additions and 48 deletions

View File

@@ -193,14 +193,7 @@ struct rtl8366s_vlan_4k {
u16 member:6;
};
struct mib_counter {
unsigned base;
unsigned offset;
unsigned length;
const char *name;
};
static struct mib_counter rtl8366s_mib_counters[RTL8366S_MIB_COUNT] = {
static struct rtl8366_mib_counter rtl8366s_mib_counters[] = {
{ 0, 0, 4, "IfInOctets" },
{ 0, 4, 4, "EtherStatsOctets" },
{ 0, 8, 2, "EtherStatsUnderSizePkts" },