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)
commit1dd04aa6d9e633f74a498edad53a842cfc9d597e
treeabee889c94a256789fdcbc913c8ed7b75bc3cc40
parent94c5145d0c13fbc645b880d952fbd67882408376
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