mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user