BXE: fixes ECORE sleep loops
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Jan 2015 23:44:11 +0000 (18:44 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 15:12:31 +0000 (10:12 -0500)
commit8cb496b8f2f8f8471c156b43424d8ccf77e672d6
tree4d489a6219a586aa1f228e9b1a9a385ef7444db8
parent2df16c542850e24b395c01c30a252732f29c3529
BXE: fixes ECORE sleep loops

It's waiting on something from a taskqueue.  The IRQ fires and executes
(hooray!), but the task wouldn't run since we're non-preemptive.  The solution
is to kthread_usleep().
kern/drivers/net/bxe/ecore_sp.c
kern/drivers/net/bxe/ecore_sp.h