diff options
author | Vipul Pandya <vipul@chelsio.com> | 2012-09-25 22:39:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-27 17:55:50 -0400 |
commit | 5afc8b84eb7b29e4646d6e8ca7e6d7196031d6f7 (patch) | |
tree | 34382fe914af703cbe1bf921c6a2ddac040f91e3 /lib | |
parent | 3eb4afbfceb44750d9afb832e6c992adec9fc571 (diff) |
cxgb4: Add functions to read memory via PCIE memory window
This patch implements two new functions t4_mem_win_read and t4_memory_read.
These new functions can be used to read memory via the PCIE memory window.
Please note, for proper execution of these functions PCIE_MEM_ACCESS_BASE_WIN
registers must be setup correctly like how setup_memwin in the cxgb4 driver
does it.
Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions