1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 00:44:03 +02:00

[backfire] merge r23419

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23441 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-10-14 14:03:31 +00:00
parent 3b68da568c
commit 123a0c867c
3 changed files with 5 additions and 5 deletions

View File

@ -329,8 +329,8 @@ static struct switch_attr ar8216_port[] = {
static struct switch_attr ar8216_vlan[] = { static struct switch_attr ar8216_vlan[] = {
{ {
.type = SWITCH_TYPE_INT, .type = SWITCH_TYPE_INT,
.name = "pvid", .name = "vid",
.description = "VLAN ID", .description = "VLAN ID (0-4094)",
.set = ar8216_set_vid, .set = ar8216_set_vid,
.get = ar8216_get_vid, .get = ar8216_get_vid,
.max = 4094, .max = 4094,

View File

@ -1210,8 +1210,8 @@ static const struct switch_attr ip17xx_vlan[] = {
[IP17XX_VLAN_TAG] = { [IP17XX_VLAN_TAG] = {
.id = IP17XX_VLAN_TAG, .id = IP17XX_VLAN_TAG,
.type = SWITCH_TYPE_INT, .type = SWITCH_TYPE_INT,
.description = "VLAN tag (0-4095) [IP175D only]", .description = "VLAN ID (0-4095) [IP175D only]",
.name = "tag", .name = "vid",
.get = ip17xx_get_tag, .get = ip17xx_get_tag,
.set = ip17xx_set_tag, .set = ip17xx_set_tag,
} }

View File

@ -829,7 +829,7 @@ static struct switch_attr rtl_vlan[] = {
{ {
RTL_VLAN_REGATTR(VID), RTL_VLAN_REGATTR(VID),
.name = "vid", .name = "vid",
.description = "VLAN ID", .description = "VLAN ID (1-4095)",
.max = 4095, .max = 4095,
}, },
}; };