From: Arnd Bergmann Date: Sun, 8 Oct 2006 22:08:02 +0000 (+0200) Subject: usbnet: add a mutex around phy register access X-Git-Tag: v2.6.19-rc3~137^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9fc6338bd51a3d5735839e756fe7b741c2e6fad;p=pandora-kernel.git 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 Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed