diff options
author | 2014-12-03 09:56:59 -0800 | |
---|---|---|
committer | 2014-12-08 21:33:29 -0500 | |
commit | b04a2f5b9ff5460a0bfbc97c9d6dd0017ad0cbe5 (patch) | |
tree | 1b47528e4549c4235c439161283372e65ae8fd5d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next (diff) | |
download | wireguard-linux-b04a2f5b9ff5460a0bfbc97c9d6dd0017ad0cbe5.tar.xz wireguard-linux-b04a2f5b9ff5460a0bfbc97c9d6dd0017ad0cbe5.zip |
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions