sfc: Use mutex_lock_interruptible() for ethtool EEPROM access
authorBen Hutchings <bhutchings@solarflare.com>
Sat, 13 Dec 2008 06:06:24 +0000 (22:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 06:06:24 +0000 (22:06 -0800)
commitca54a9f525236c389f464d0952c8a7d6a4035906
tree384db8cff1c974af9b1b7fa442e94cc104311ac5
parent11e66966277ea8a3353ad2c2773257973553e73a
sfc: Use mutex_lock_interruptible() for ethtool EEPROM access

ethtool must contend with the MTD driver for the SPI bus lock, which
may carry out long operations such as flash erase.  Allow it to be
interrupted while waiting.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/ethtool.c