projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mlxbf_gige: compute MDIO period based on i1clk
[platform/kernel/linux-starfive.git]
/
drivers
/
net
/
ethernet
/
mellanox
/
mlxbf_gige
/
mlxbf_gige_regs.h
diff --git
a/drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_regs.h
b/drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_regs.h
index
5fb33c9
..
7be3a79
100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_regs.h
+++ b/
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_regs.h
@@
-8,6
+8,8
@@
#ifndef __MLXBF_GIGE_REGS_H__
#define __MLXBF_GIGE_REGS_H__
+#define MLXBF_GIGE_VERSION 0x0000
+#define MLXBF_GIGE_VERSION_BF2 0x0
#define MLXBF_GIGE_STATUS 0x0010
#define MLXBF_GIGE_STATUS_READY BIT(0)
#define MLXBF_GIGE_INT_STATUS 0x0028