mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21979 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user