diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:36:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:26 -0500 |
commit | 46c6a67495b3ec76204db800fc8d60a260f91cfe (patch) | |
tree | 23685cb8cb7351c1f452b61d5afcffb40b0ffb6d /drivers/net/bnx2x.h | |
parent | 589abe3a0f594a7707a15674ca9e80370c972832 (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.h')
-rw-r--r-- | drivers/net/bnx2x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index d66be72d8321..12d2d0bd9a42 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h | |||
@@ -570,6 +570,7 @@ struct bnx2x_port { | |||
570 | 570 | ||
571 | /* used to synchronize phy accesses */ | 571 | /* used to synchronize phy accesses */ |
572 | struct mutex phy_mutex; | 572 | struct mutex phy_mutex; |
573 | int need_hw_lock; | ||
573 | 574 | ||
574 | u32 port_stx; | 575 | u32 port_stx; |
575 | 576 | ||