projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: hns3: clear hardware resource when loading driver
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
hisilicon
/
hns3
/
hns3pf
/
hclge_cmd.h
diff --git
a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
index
18bde77
..
d455d68
100644
(file)
--- a/
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
+++ b/
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
@@
-270,6
+270,9
@@
enum hclge_opcode_type {
/* Led command */
HCLGE_OPC_LED_STATUS_CFG = 0xB000,
+ /* clear hardware resource command */
+ HCLGE_OPC_CLEAR_HW_RESOURCE = 0x700B,
+
/* NCL config command */
HCLGE_OPC_QUERY_NCL_CONFIG = 0x7011,