aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-12-03 09:56:59 -0800
committerDavid S. Miller <davem@davemloft.net>2014-12-08 21:33:29 -0500
commitb04a2f5b9ff5460a0bfbc97c9d6dd0017ad0cbe5 (patch)
tree1b47528e4549c4235c439161283372e65ae8fd5d /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next (diff)
downloadwireguard-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