tg3: Request APE_LOCK_PHY before PHY access

to prevent PHY access conflict with APE firmware.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Michael Chan
2012-07-29 19:15:41 +00:00
committed by David S. Miller
parent 8253947e2c
commit 8151ad576d
2 changed files with 38 additions and 0 deletions

View File

@@ -3107,6 +3107,7 @@ struct tg3 {
int old_link;
u8 phy_addr;
u8 phy_ape_lock;
/* PHY info */
u32 phy_id;