Support for broadcoms multifunctional devices

bnc#841170, fate#316090

and cleanup and so on.
ok, quite big patch, I agree