aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/ar8216.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-12 20:49:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-12 20:49:35 +0000
commite923eb2879fda59297956dcbddf067706d3b6ac7 (patch)
tree1fefae085149cd6d35f7ba4a411accfc843b978a /target/linux/generic/files/drivers/net/phy/ar8216.c
parenta6073ef3b3a2a38f711fc0746a8ad933405afe0d (diff)
downloadmaster-187ad058-e923eb2879fda59297956dcbddf067706d3b6ac7.tar.gz
master-187ad058-e923eb2879fda59297956dcbddf067706d3b6ac7.tar.bz2
master-187ad058-e923eb2879fda59297956dcbddf067706d3b6ac7.zip
[generic] unify extended vlan id swconfig attributes.
AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23419 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.c')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 98bfc7eb31..93c961c3ca 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -329,8 +329,8 @@ static struct switch_attr ar8216_port[] = {
static struct switch_attr ar8216_vlan[] = {
{
.type = SWITCH_TYPE_INT,
- .name = "pvid",
- .description = "VLAN ID",
+ .name = "vid",
+ .description = "VLAN ID (0-4094)",
.set = ar8216_set_vid,
.get = ar8216_get_vid,
.max = 4094,