git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d1cac
)
net/qede/base: fix remove the unneeded conversion to LE
author
Rasesh Mody
<rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:53:30 +0000
(23:53 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:44 +0000
(18:59 +0200)
Remove the unneeded conversion to LE when writing to the 32-bit
XSDM_REG_OPERATION_GEN register
Fixes:
ec94dbc57362
("qede: add base driver")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c
patch
|
blob
|
history
diff --git
a/drivers/net/qede/base/ecore_dev.c
b/drivers/net/qede/base/ecore_dev.c
index
b5873bd
..
318f3d2
100644
(file)
--- a/
drivers/net/qede/base/ecore_dev.c
+++ b/
drivers/net/qede/base/ecore_dev.c
@@
-788,10
+788,9
@@
enum _ecore_status_t ecore_final_cleanup(struct ecore_hwfn *p_hwfn,
DP_VERBOSE(p_hwfn, ECORE_MSG_IOV,
"Sending final cleanup for PFVF[%d] [Command %08x\n]",
- id,
OSAL_CPU_TO_LE32(command)
);
+ id,
command
);
- ecore_wr(p_hwfn, p_ptt, XSDM_REG_OPERATION_GEN,
- OSAL_CPU_TO_LE32(command));
+ ecore_wr(p_hwfn, p_ptt, XSDM_REG_OPERATION_GEN, command);
/* Poll until completion */
while (!REG_RD(p_hwfn, addr) && count--)