projects
/
openwrt
/
staging
/
luka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c3b2a
)
rtl8367: add support for configuring the VLAN FID
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 12 Aug 2013 17:25:25 +0000
(17:25 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 12 Aug 2013 17:25:25 +0000
(17:25 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37760
target/linux/generic/files/drivers/net/phy/rtl8367.c
patch
|
blob
|
history
diff --git
a/target/linux/generic/files/drivers/net/phy/rtl8367.c
b/target/linux/generic/files/drivers/net/phy/rtl8367.c
index 3cd811e75fa606b025c0e26d83dd05f89a9a8512..4978a8cb7a14df5cf2d3d8c4840881163dc788a0 100644
(file)
--- 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,
},
};