diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-01-08 18:04:00 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-01-08 18:04:00 +0000 |
commit | ec9b5d6243e6df68cadc443fa0ee4f7ddf6ac7ad (patch) | |
tree | 0e6a29ac590bfb48be9077f324f9661f70803fcc /target/linux/generic | |
parent | 72779e560b2ff890aa12ea0b785d989310c3db85 (diff) | |
download | upstream-ec9b5d6243e6df68cadc443fa0ee4f7ddf6ac7ad.tar.gz upstream-ec9b5d6243e6df68cadc443fa0ee4f7ddf6ac7ad.tar.bz2 upstream-ec9b5d6243e6df68cadc443fa0ee4f7ddf6ac7ad.zip |
generic: rtl8366s: add vlan fid support
SVN-Revision: 24934
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366s.c | 7 |
1 files changed, 7 insertions, 0 deletions
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, }, }; |