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
drivers/octeontx2: fix icc build for i686
[dpdk.git]
/
drivers
/
raw
/
ifpga_rawdev
/
base
/
opae_eth_group.h
diff --git
a/drivers/raw/ifpga_rawdev/base/opae_eth_group.h
b/drivers/raw/ifpga_rawdev/base/opae_eth_group.h
index
8d695cc
..
4868bd0
100644
(file)
--- a/
drivers/raw/ifpga_rawdev/base/opae_eth_group.h
+++ b/
drivers/raw/ifpga_rawdev/base/opae_eth_group.h
@@
-31,7
+31,7
@@
#define CMD_NOP 0ULL
#define CMD_RD 1ULL
#define CMD_WR 2ULL
#define CMD_NOP 0ULL
#define CMD_RD 1ULL
#define CMD_WR 2ULL
-#define CTRL_DEV_SELECT GENMASK_ULL(5
2
, 49)
+#define CTRL_DEV_SELECT GENMASK_ULL(5
3
, 49)
#define CTRL_DS_SHIFT 49
#define CTRL_FEAT_SELECT BIT_ULL(48)
#define SELECT_IP 0
#define CTRL_DS_SHIFT 49
#define CTRL_FEAT_SELECT BIT_ULL(48)
#define SELECT_IP 0
@@
-44,6
+44,12
@@
#define STAT_DATA_VAL BIT_ULL(32)
#define STAT_RD_DATA GENMASK_ULL(31, 0)
#define STAT_DATA_VAL BIT_ULL(32)
#define STAT_RD_DATA GENMASK_ULL(31, 0)
+/* Additional Feature Register */
+#define ADD_PHY_CTRL 0x0
+#define PHY_RESET BIT(0)
+#define MAC_CONFIG 0x310
+#define MAC_RESET_MASK GENMASK(2, 0)
+
struct opae_eth_group_info {
u8 group_id;
u8 speed;
struct opae_eth_group_info {
u8 group_id;
u8 speed;