This makes it possible to use swconfig to controll the switch. This was tested with devices using b43 and bgmac. This was not tested on devices using tg3. This does not support the adm switch used in some very old devices. SVN-Revision: 37304
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36284
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34679
SVN-Revision: 33830