mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
generic: rtl8366: use common rtl8366_mib_counter structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21982 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user