Support for broadcoms multifunctional devices

bnc#841170, fate#316090

and cleanup and so on.
at the end of the file