swconfig: Add generic switch identifiers
authorJonas Gorski <jogo@openwrt.org>
Wed, 27 Jul 2011 18:00:18 +0000 (18:00 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 27 Jul 2011 18:00:18 +0000 (18:00 +0000)
commiteaa935658b7ec77bfd8b99b557ad196425b620f4
tree85ae0f6e1bff3c06ac7b12de828d5a6a86194931
parent8ff7756e829dde4fcf69eeb9cca673cc7c7bd945
swconfig: Add generic switch identifiers

Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

SVN-Revision: 27800
package/swconfig/Makefile
package/swconfig/src/cli.c
package/swconfig/src/swlib.c
package/swconfig/src/swlib.h
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/files/include/linux/switch.h