diff options
| author | Florian Fainelli <[email protected]> | 2014-12-03 09:56:59 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-12-08 21:33:29 -0500 |
| commit | b04a2f5b9ff5460a0bfbc97c9d6dd0017ad0cbe5 (patch) | |
| tree | 1b47528e4549c4235c439161283372e65ae8fd5d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6db70e3e1d988005c9ae6cf0f023e3c653628efb (diff) | |
net: bcmgenet: add support for new GENET PHY revision scheme
Starting with GPHY revision G0, the GENET register layout has changed to
use the same numbering scheme as the Starfighter 2 switch. This means
that GPHY major revision is in bits 15:12, minor in bits 11:8 and patch
level is in bits 7:4.
Introduce a small heuristic which checks for the old scheme first, tests
for the new scheme and finally attempts to catch reserved values and
aborts.
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions