rtl8367: add support for configuring the VLAN FID

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37760
This commit is contained in:
Felix Fietkau 2013-08-12 17:25:25 +00:00
parent 53c3b2a193
commit e5fd991c6c

View File

@ -1592,6 +1592,13 @@ static struct switch_attr rtl8367_vlan[] = {
.max = 1,
.set = NULL,
.get = rtl8366_sw_get_vlan_info,
}, {
.type = SWITCH_TYPE_INT,
.name = "fid",
.description = "Get/Set vlan FID",
.max = RTL8367_FIDMAX,
.set = rtl8366_sw_set_vlan_fid,
.get = rtl8366_sw_get_vlan_fid,
},
};