commit | c1e9af0ca1f8adb7f3badfc027fa42ecfcb34956 | [log] [tgz] |
---|---|---|
author | Hariprasad Shenai <hariprasad@chelsio.com> | Fri Jun 05 14:24:52 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 05 21:25:59 2015 -0700 |
tree | 66b81e86ceeb8b9a8eea0174c63a0aea163a8048 | |
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>