projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel: add driver for Marvell 88E6171 switch
[openwrt.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
rtl8367.c
diff --git
a/target/linux/generic/files/drivers/net/phy/rtl8367.c
b/target/linux/generic/files/drivers/net/phy/rtl8367.c
index
3cd811e
..
4978a8c
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,
},
};