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:
c5846a1
)
net/i40e/base: convert shift values to hex
author
Jingjing Wu
<jingjing.wu@intel.com>
Sat, 10 Dec 2016 11:24:45 +0000
(19:24 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:27 +0000
(19:39 +0100)
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/base/i40e_type.h
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index
99e080e
..
3784c8f
100644
(file)
--- a/
drivers/net/i40e/base/i40e_type.h
+++ b/
drivers/net/i40e/base/i40e_type.h
@@
-365,9
+365,9
@@
enum i40e_acpi_programming_method {
I40E_ACPI_PROGRAMMING_METHOD_AQC_FPK = 1
};
-#define I40E_WOL_SUPPORT_MASK 1
-#define I40E_ACPI_PROGRAMMING_METHOD_MASK
(1 << 1)
-#define I40E_PROXY_SUPPORT_MASK
(1 << 2)
+#define I40E_WOL_SUPPORT_MASK
0x
1
+#define I40E_ACPI_PROGRAMMING_METHOD_MASK
0x2
+#define I40E_PROXY_SUPPORT_MASK
0x4
#endif
/* Capabilities of a PF or a VF or the whole device */