diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 17:25:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 17:25:25 +0000 |
commit | b10717fee91d46a3a441c67aceaae42b1b91caf4 (patch) | |
tree | 4a11781d1d202ba6c9b052448ff8b98d0a84544b /target/linux/generic/files | |
parent | 45e13d91a6175ddd88063724acc3c52b3acc917f (diff) | |
download | master-187ad058-b10717fee91d46a3a441c67aceaae42b1b91caf4.tar.gz master-187ad058-b10717fee91d46a3a441c67aceaae42b1b91caf4.tar.bz2 master-187ad058-b10717fee91d46a3a441c67aceaae42b1b91caf4.zip |
rtl8367: add support for configuring the VLAN FID
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37760 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8367.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367.c b/target/linux/generic/files/drivers/net/phy/rtl8367.c index 3cd811e75f..4978a8cb7a 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8367.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8367.c @@ -1592,6 +1592,13 @@ static struct switch_attr rtl8367_vlan[] = { .max = 1, .set = NULL, .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, }, }; |