mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
generic: rtl8366: add common vlan_mc structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21914 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -34,6 +34,14 @@ struct rtl8366_smi_ops {
|
||||
int (*mii_write)(struct mii_bus *bus, int addr, int reg, u16 val);
|
||||
};
|
||||
|
||||
struct rtl8366_vlan_mc {
|
||||
u16 vid;
|
||||
u8 priority;
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user