aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_reg.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 03:36:58 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 02:31:26 -0500
commit46c6a67495b3ec76204db800fc8d60a260f91cfe (patch)
tree23685cb8cb7351c1f452b61d5afcffb40b0ffb6d /drivers/net/bnx2x_reg.h
parent589abe3a0f594a7707a15674ca9e80370c972832 (diff)
bnx2x: PHY lock list
Some dual port PHY require HW lock since they are used by both interfaces (different driver instances). Since this list is getting longer, update a parameter at load time instead of calculating it on runtime Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_reg.h')
-rw-r--r--drivers/net/bnx2x_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h
index 520bf695864e..5cfeac96ea69 100644
--- a/drivers/net/bnx2x_reg.h
+++ b/drivers/net/bnx2x_reg.h
@@ -5228,8 +5228,8 @@
5228#define MISC_REGISTERS_SPIO_OUTPUT_LOW 0 5228#define MISC_REGISTERS_SPIO_OUTPUT_LOW 0
5229#define MISC_REGISTERS_SPIO_SET_POS 8 5229#define MISC_REGISTERS_SPIO_SET_POS 8
5230#define HW_LOCK_MAX_RESOURCE_VALUE 31 5230#define HW_LOCK_MAX_RESOURCE_VALUE 31
5231#define HW_LOCK_RESOURCE_8072_MDIO 0
5232#define HW_LOCK_RESOURCE_GPIO 1 5231#define HW_LOCK_RESOURCE_GPIO 1
5232#define HW_LOCK_RESOURCE_MDIO 0
5233#define HW_LOCK_RESOURCE_PORT0_ATT_MASK 3 5233#define HW_LOCK_RESOURCE_PORT0_ATT_MASK 3
5234#define HW_LOCK_RESOURCE_SPIO 2 5234#define HW_LOCK_RESOURCE_SPIO 2
5235#define HW_LOCK_RESOURCE_UNDI 5 5235#define HW_LOCK_RESOURCE_UNDI 5