diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-04-15 00:11:31 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-16 18:30:27 -0400 |
commit | bf2c6b90b385c163ad9c48fe97f5dc6af0091de6 (patch) | |
tree | fa21649a3ea3205ab5234710275b8bbcc24d4c8a /drivers/net/ethernet/wiznet/w5100-spi.c | |
parent | 850576cfede986f0683bed25e34bc15712ffb463 (diff) | |
download | op-kernel-dev-bf2c6b90b385c163ad9c48fe97f5dc6af0091de6.zip op-kernel-dev-bf2c6b90b385c163ad9c48fe97f5dc6af0091de6.tar.gz |
net: w5100: enable to support sleepable register access interface
SPI transfer routines are callable only from contexts that can sleep.
This adds ability to tell the core driver that the interface mode
cannot access w5100 register on atomic contexts. In this case,
workqueue and threaded irq are required.
This also corrects timeout period waiting for command register to be
automatically cleared because the latency of the register access with
SPI transfer can be interfered by other contexts.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Mike Sinkovsky <msink@permonline.ru>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/wiznet/w5100-spi.c')
0 files changed, 0 insertions, 0 deletions