summaryrefslogtreecommitdiffstats
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
commit352fea83d9181d41a93472428afdb892381b74f2 (patch)
tree71ebcb78720c3003177c1285993104d0757fdfc3 /target/linux/generic/files/drivers/net/phy/psb6970.c
parent64d3505a2ad6773420ff8ecafa83e14dd8c6b401 (diff)
downloadmaster-31e0f0ae-352fea83d9181d41a93472428afdb892381b74f2.tar.gz
master-31e0f0ae-352fea83d9181d41a93472428afdb892381b74f2.tar.bz2
master-31e0f0ae-352fea83d9181d41a93472428afdb892381b74f2.zip
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.
SVN-Revision: 23419
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,