swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK
authorJohn Crispin <john@openwrt.org>
Wed, 23 Dec 2015 19:25:02 +0000 (19:25 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 23 Dec 2015 19:25:02 +0000 (19:25 +0000)
commit242c0f5680a0a5a09aaae59be3f1b95c4b0e40e0
treee6de9631c61a5dcb4bde6b1382ca376232de4b7e
parente458c48837c33a10c99caa62e53ca73c49f1ea2e
swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK

As explained earlier, using SWITCH_TYPE_LINK gives more flexibility,
it doesn't require e.g. string parsing to read some data.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47999
target/linux/generic/files/drivers/net/phy/swconfig.c