diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-03-07 18:24:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-10 16:10:30 -0500 |
commit | 2d9deae4aedee2be2205e22440ac357c37013658 (patch) | |
tree | cd5f85c9f3b68b7cf376d25788575dabfbdaf6b6 /tools/perf/scripts/python | |
parent | 2a5a259f9757250dc786e2091759155a868179ae (diff) |
net: dsa: mv88e6xxx: rework port state setter
Apply a few non-functional changes on the port state setter:
* add a dynamic debug message with state names to track changes
* explicit states checking instead of assuming their numeric values
* lock mutex only once when changing several port states
* use bitmap macros to declare and access port_state_update_mask
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions