]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: do not ever sleep in interrupt context
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 2 Oct 2008 23:33:25 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Oct 2008 01:28:12 +0000 (18:28 -0700)
commit329509afa92a946488283dc810ee41dab6814e08
treeeb621b61dc32327b52f80911b73956c7515df7ae
parent8ee23149c8f533a111d2bb840b475ae68cada323
e1000e: do not ever sleep in interrupt context

e1000e was apparently calling two functions that attempted to reserve
the SWFLAG bit for exclusive (to hardware and firmware) access to
the PHY and NVM (aka eeprom).  These accesses could possibly call
msleep to wait for the resource which is not allowed from interrupt
context.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/netdev.c