mirror of https://github.com/hak5/openwrt.git
rtl8367: add support for configuring the VLAN FID
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37760lede-17.01
parent
53c3b2a193
commit
e5fd991c6c
|
@ -1592,6 +1592,13 @@ static struct switch_attr rtl8367_vlan[] = {
|
||||||
.max = 1,
|
.max = 1,
|
||||||
.set = NULL,
|
.set = NULL,
|
||||||
.get = rtl8366_sw_get_vlan_info,
|
.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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue