2
0
forked from Ivasoft/openwrt

generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c

SVN-Revision: 21979
This commit is contained in:
Gabor Juhos
2010-06-28 17:23:45 +00:00
parent 81e9e7916f
commit 830b04bd72
4 changed files with 217 additions and 410 deletions

View File

@@ -71,4 +71,10 @@ int rtl8366_smi_write_reg(struct rtl8366_smi *smi, u32 addr, u32 data);
int rtl8366_smi_read_reg(struct rtl8366_smi *smi, u32 addr, u32 *data);
int rtl8366_smi_rmwr(struct rtl8366_smi *smi, u32 addr, u32 mask, u32 data);
int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member, u32 untag,
u32 fid);
int rtl8366_reset_vlan(struct rtl8366_smi *smi);
int rtl8366_get_pvid(struct rtl8366_smi *smi, int port, int *val);
int rtl8366_set_pvid(struct rtl8366_smi *smi, unsigned port, unsigned vid);
#endif /* _RTL8366_SMI_H */