Support for broadcoms multifunctional devices

bnc#841170, fate#316090

and cleanup and so on.
fixed testsuite