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

backfire: generic: rtl8366: add common vlan_4k structure (backport of r21915)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21934 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2010-06-26 19:53:38 +00:00
parent 25db8048e6
commit 091a81e55c
3 changed files with 49 additions and 20 deletions

View File

@@ -42,6 +42,13 @@ struct rtl8366_vlan_mc {
u8 fid;
};
struct rtl8366_vlan_4k {
u16 vid;
u8 untag;
u8 member;
u8 fid;
};
int rtl8366_smi_init(struct rtl8366_smi *smi);
void rtl8366_smi_cleanup(struct rtl8366_smi *smi);
int rtl8366_smi_write_reg(struct rtl8366_smi *smi, u32 addr, u32 data);