From: Auke Kok Date: Tue, 27 Jun 2006 16:06:28 +0000 (-0700) Subject: e1000: rework driver hardware reset locking X-Git-Tag: v2.6.18-rc2~255^2~1^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2db10a081c5c1082d58809a1bcf1a6073f4db160;p=pandora-kernel.git e1000: rework driver hardware reset locking After studying the driver mac reset code it was found that there were multiple race conditions possible to reset the unit twice or bring it e1000_up() double. This fixes all occurences where the driver needs to reset the mac. We also remove irq requesting/releasing into _open and _close so that while the device is _up we will never touch the irq's. This fixes the double free irq bug that people saw. To make sure that the watchdog task doesn't cause another race we let it run as a non-scheduled task. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok --- Reading git-diff-tree failed