diff options
author | Dongdong Deng <dongdong.deng@windriver.com> | 2009-08-23 22:59:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-23 22:59:04 -0700 |
commit | 8ff499e43c537648399fca8ba39d24c0768b3fab (patch) | |
tree | a8060b64ffd9489b6509d2fe96c902b296877c45 /drivers/net/sni_82596.c | |
parent | d2f3ad4cedc00c8ee848e7abe9b2bbc93b9a8c2d (diff) |
smc91x: let smc91x work well under netpoll
The NETPOLL requires that interrupts remain disabled in its callbacks.
Using *_irq_save()/irq_restore() to replace *_irq_disable()/irq_enable()
functions in NETPOLL's callbacks of smc91x, so that it doesn't enable
interrupts when already disabled, and kgdboe/netconsole would work
properly over smc91x.
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sni_82596.c')
0 files changed, 0 insertions, 0 deletions