diff options
author | David Daney <david.daney@cavium.com> | 2015-10-23 17:14:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-25 18:13:00 -0700 |
commit | 88ed237720bd618240439714a57fb69ea96428e7 (patch) | |
tree | 7aa87a94dbbe8510a17f1db7d7f43034ff224f32 /.mailmap | |
parent | 4e85777ff071b51f500b130b6d036922af32be25 (diff) | |
download | talos-obmc-linux-88ed237720bd618240439714a57fb69ea96428e7.tar.gz talos-obmc-linux-88ed237720bd618240439714a57fb69ea96428e7.zip |
net: thunderx: Rewrite silicon revision tests.
The test for pass-1 silicon was incorrect, it should be for all
revisions less than 8. Also the revision is already present in the
pci_dev, so there is no need to read and keep a private copy.
Remove rev_id and code to read it from struct nicpf. Create new
static inline function pass1_silicon() to be used to testing the
silicon version. Use pass1_silicon() for revision checks, this will
be more widely used in follow on patches.
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions