commit | a9fc6338bd51a3d5735839e756fe7b741c2e6fad | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Mon Oct 09 00:08:02 2006 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Oct 17 14:46:32 2006 -0700 |
tree | 0c75d1739bd65f21b125562dd9f603b1d195dd8c | |
parent | c41286fd42f3545513f8de9f61028120b6d38e89 [diff] |
usbnet: add a mutex around phy register access When working on the mcs7830, I noticed the need for a mutex in its mdio_read/mdio_write functions. A related problem seems to be present in the asix driver in the respective functions. This introduces a mutex in the common usbnet driver and uses it from the two hardware specific drivers. Acked-by: David Hollis <dhollis@davehollis.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>