From: Gabor Juhos Date: Sat, 8 Jan 2011 18:04:00 +0000 (+0000) Subject: generic: rtl8366s: add vlan fid support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec9b5d6243e6df68cadc443fa0ee4f7ddf6ac7ad;p=openwrt%2Fstaging%2Fldir.git generic: rtl8366s: add vlan fid support SVN-Revision: 24934 --- diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366s.c b/target/linux/generic/files/drivers/net/phy/rtl8366s.c index f9a4c8c279..f0c21f7059 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366s.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366s.c @@ -883,6 +883,13 @@ static struct switch_attr rtl8366s_vlan[] = { .max = 1, .set = NULL, .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, }, };