diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 08:36:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-15 23:31:26 -0800 |
commit | 46c6a67495b3ec76204db800fc8d60a260f91cfe (patch) | |
tree | 23685cb8cb7351c1f452b61d5afcffb40b0ffb6d /drivers/net/bnx2x.h | |
parent | 589abe3a0f594a7707a15674ca9e80370c972832 (diff) | |
download | linux-3.10-46c6a67495b3ec76204db800fc8d60a260f91cfe.tar.gz linux-3.10-46c6a67495b3ec76204db800fc8d60a260f91cfe.tar.bz2 linux-3.10-46c6a67495b3ec76204db800fc8d60a260f91cfe.zip |
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 d66be72d832..12d2d0bd9a4 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h @@ -570,6 +570,7 @@ struct bnx2x_port { /* used to synchronize phy accesses */ struct mutex phy_mutex; + int need_hw_lock; u32 port_stx; |