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)
commit71cd537a8a5b6310524a113a6ff53b272d19ff4e
tree56c31e92c9986930e9502234c01694c9f347b391
parent8536afae6f8ff3196aa8457cc0a53c5c0ea9fbac
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