sata_via: don't diddle with ATA_NIEN in ->freeze
authorTejun Heo <htejun@gmail.com>
Thu, 25 Jan 2007 11:46:59 +0000 (20:46 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 25 Jan 2007 22:22:47 +0000 (17:22 -0500)
commit17234246eb82898cf98e3c29e81d941c738e0587
tree7461fcd868ff714f66f262b47ca6b6aa2973f237
parentb229a7b0aed808f2ef6a5e9dbf78b0f17cefb4d0
sata_via: don't diddle with ATA_NIEN in ->freeze

vt6420 completely loses its ability to raise IRQ for ATAPI devices if
ATA_NIEN is diddled with in ->freeze.  Further investigation is
necessary to determine whether this problem is shared on other
controllers but it doesn't seem to be at this point.

Make vt6420's ->freeze only clear IRQ to fix this problem.  This makes
vt6420 relatively more prone to IRQ storms but the controller is way
too braindamaged to worry about that anyway.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_via.c