commit | 74ecc62d6e595ca64bbef2471787bf53b94e5d3c | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Fri May 02 16:56:16 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 02 16:56:16 2008 -0700 |
tree | b9e8be132291f739a726f5329c094afce04c5702 | |
parent | ae4f8fca4030a4e783fa4ccb0c9d8d8a8cf60a32 [diff] |
bnx2: Refine remote PHY locking. bnx2_set_remote_link() should be called under bp->phy_lock to protect against concurrent polling and interrupt calls. This change is needed by the next patch which will add one initial poll of the remote PHY link status. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>