1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-24 07:11:05 +02:00

generic: rtl8366s: add vlan fid support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24934 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2011-01-08 18:04:00 +00:00
parent 2743857121
commit 891f8034ba

View File

@ -883,6 +883,13 @@ static struct switch_attr rtl8366s_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 = RTL8366S_FIDMAX,
.set = rtl8366_sw_set_vlan_fid,
.get = rtl8366_sw_get_vlan_fid,
}, },
}; };