diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-06-05 14:24:52 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-05 21:25:59 -0700 |
commit | c1e9af0ca1f8adb7f3badfc027fa42ecfcb34956 (patch) | |
tree | 66b81e86ceeb8b9a8eea0174c63a0aea163a8048 /net/switchdev/switchdev.c | |
parent | eca0f6eeadec74027a4f940bd6958c41e5259618 (diff) |
cxgb4: Use FW LDST cmd to access TP_PIO_{ADDR, DATA} register first
The TP_PIO_{ADDR,DATA} registers are are in conflict with the firmware's
use of these registers. Added a routine to access it through FW LDST
cmd.
Access all TP_PIO_{ADDR,DATA} register access through new routine if FW
is alive. If firmware is dead, than fall back to indirect access.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions