diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-02-16 15:59:06 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-17 15:30:48 -0500 |
commit | 140e807dd7d6aa68e601f50a10abd5351e06126f (patch) | |
tree | 4481f795dffd8db8fe1723200614018d06ac2815 /drivers/net/s2io.h | |
parent | daeafdc360f91d286490105e67b13f094381e23f (diff) | |
download | linux-140e807dd7d6aa68e601f50a10abd5351e06126f.tar.gz linux-140e807dd7d6aa68e601f50a10abd5351e06126f.tar.bz2 linux-140e807dd7d6aa68e601f50a10abd5351e06126f.zip |
macb: Remove inappropriate spinlocks around mii calls
Remove spin_lock_irqsave() around mii_ethtool_gset, mii_ethtool_sset
and generic_mii_ioctl. These are unnecessary and harmful because
the mii calls may call back into the mdio functions, which may sleep.
Pointed out by David Brownell.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
0 files changed, 0 insertions, 0 deletions