generic: rtl8366s: add vlan fid support

SVN-Revision: 24934
owl
Gabor Juhos 2011-01-08 18:04:00 +00:00
parent 72779e560b
commit ec9b5d6243
1 changed files with 7 additions and 0 deletions

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,
}, },
}; };