aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/psb6970.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/psb6970.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/psb6970.c')
-rw-r--r--target/linux/generic/files/drivers/net/phy/psb6970.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/psb6970.c b/target/linux/generic/files/drivers/net/phy/psb6970.c
index b9280540ca..2fcd299013 100644
--- a/target/linux/generic/files/drivers/net/phy/psb6970.c
+++ b/target/linux/generic/files/drivers/net/phy/psb6970.c
@@ -149,8 +149,8 @@ static struct switch_attr psb6970_port[] = {
static struct switch_attr psb6970_vlan[] = {
{
.type = SWITCH_TYPE_INT,
- .name = "pvid",
- .description = "VLAN ID",
+ .name = "vid",
+ .description = "VLAN ID (0-4094)",
.set = psb6970_set_vid,
.get = psb6970_get_vid,
.max = 4094,