]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Fixed incorrect check for memory operation in t4_memory_rw
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 24 Jul 2014 11:46:30 +0000 (17:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jul 2014 06:28:39 +0000 (23:28 -0700)
commit6a8313d6947793604d33d3fcf8e991b74ae581b2
tree93e11b507db72c9ac4c2a6cc8990b4f836884611
parentfffada983393426580665c86eff352f07a6ccf50
cxgb4: Fixed incorrect check for memory operation in t4_memory_rw

Fix incorrect check introduced in commit 3424ee32 ("cxgb4: Replaced the
backdoor mechanism to access the HW memory with PCIe Window method"). We where
checking for write operation and doing a read, changed it accordingly.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c