diff options
author | Dirk van der Merwe <dirk.vandermerwe@netronome.com> | 2019-09-11 16:21:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-12 00:01:00 +0100 |
commit | 421bceb270e21b6db92988923445460c2e498888 (patch) | |
tree | 5e33d143c6379d3b25a7f9813baceedd46a86ff3 /drivers/net/fjes | |
parent | 051ba67447de1294aaacc59752a37f72091d15ed (diff) |
nfp: read chip model from the PluDevice register
The PluDevice register provides the authoritative chip model/revision.
Since the model number is purely used for reporting purposes, follow
the hardware team convention of subtracting 0x10 from the PluDevice
register to obtain the chip model/revision number.
Suggested-by: Francois H. Theron <francois.theron@netronome.com>
Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fjes')
0 files changed, 0 insertions, 0 deletions