Florian Fainelli f9bf5a2ca6 dsa: make dsa_switch_setup check for valid port names
This patch changes dsa_switch_setup() to ensure that at least one valid
valid port name is specified and will bail out with an error in case we
walked the maximum number of port with a valid port name found.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-21 15:40:12 -05:00
..
2012-12-11 14:08:47 -08:00
2012-05-17 18:45:20 -04:00
2013-01-03 13:00:01 +01:00
2013-01-11 12:09:04 -08:00
2012-09-26 21:10:25 -04:00