Support for broadcoms multifunctional devices

bnc#841170, fate#316090

and cleanup and so on.
`num += 1`