commit | 24bb4fb6dac59f220f42fb375ba0e0f19365a227 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Mon Oct 05 17:55:29 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 07 03:37:39 2009 -0700 |
tree | f3c14601de35332b12260e89526426c220578121 | |
parent | 083925d5432d910025e84d445d1243dd260d4afb [diff] |
tg3: Fix phylib locking strategy Felix Radensky noted that chip resets were generating stack trace dumps. This is because the driver is attempting to acquire the mdio bus mutex while holding the tp->lock spinlock. The fix is to change the code such that every phy access takes the tp->lock spinlock instead. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>