git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus/pci: fix Windows kernel driver categories
[dpdk.git]
/
drivers
/
net
/
ionic
/
ionic_osdep.h
diff --git
a/drivers/net/ionic/ionic_osdep.h
b/drivers/net/ionic/ionic_osdep.h
index
a55d599
..
a6575c3
100644
(file)
--- a/
drivers/net/ionic/ionic_osdep.h
+++ b/
drivers/net/ionic/ionic_osdep.h
@@
-40,9
+40,8
@@
typedef uint32_t __le32;
typedef uint64_t __le64;
#define ioread8(reg) rte_read8(reg)
typedef uint64_t __le64;
#define ioread8(reg) rte_read8(reg)
-#define ioread32(reg) rte_read32(r
eg
)
+#define ioread32(reg) rte_read32(r
te_le_to_cpu_32(reg)
)
#define iowrite8(value, reg) rte_write8(value, reg)
#define iowrite8(value, reg) rte_write8(value, reg)
-#define iowrite32(value, reg) rte_write32(value, reg)
-#define writeq(value, reg) rte_write64(value, reg)
+#define iowrite32(value, reg) rte_write32(rte_cpu_to_le_32(value), reg)
#endif
#endif