swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Dec 2015 19:25:02 +0000 (19:25 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Dec 2015 19:25:02 +0000 (19:25 +0000)
commitbc9e3612e06e38b63bd2e69e97c1d8b6d08b673d
treee6de9631c61a5dcb4bde6b1382ca376232de4b7e
parent337231c60b1f33e87d3a3d5886377758792e6c7a
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47999 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/swconfig.c