From f7cc8b197ce11b495f5081ae257e90b9aca75858 Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 12 Oct 2010 20:49:35 +0000 Subject: [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 --- target/linux/generic/files/drivers/net/phy/ip17xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/generic/files/drivers/net/phy/ip17xx.c') diff --git a/target/linux/generic/files/drivers/net/phy/ip17xx.c b/target/linux/generic/files/drivers/net/phy/ip17xx.c index 646a842654..c82c39e052 100644 --- a/target/linux/generic/files/drivers/net/phy/ip17xx.c +++ b/target/linux/generic/files/drivers/net/phy/ip17xx.c @@ -1210,8 +1210,8 @@ static const struct switch_attr ip17xx_vlan[] = { [IP17XX_VLAN_TAG] = { .id = IP17XX_VLAN_TAG, .type = SWITCH_TYPE_INT, - .description = "VLAN tag (0-4095) [IP175D only]", - .name = "tag", + .description = "VLAN ID (0-4095) [IP175D only]", + .name = "vid", .get = ip17xx_get_tag, .set = ip17xx_set_tag, } -- cgit v1.2.3