cmd64x: don't clear the other channel's interrupt
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 13 Nov 2007 21:09:14 +0000 (22:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 13 Nov 2007 21:09:14 +0000 (22:09 +0100)
commit6183289cd4356b790c5eaa619020fb887ec0fa44
treed47fd4c1188134b37ee2dc83b9f85a28b5b2e756
parent9418d5dc9ba40b88737580457bf3b7c63c60ec43
cmd64x: don't clear the other channel's interrupt

Make sure to not clear the other IDE channel's interrupt when clearing an IDE
interrupt via the MRDMODE register.

Thanks to Bart for finding a coding mistake.

Bart:

This fixes regression from commit 66602c83dcb6a5d82772d88ae7a32cd4a1213528
("cmd64x: use interrupt status from MRDMODE register (take 2)").

Extra thanks to Martin for reporting and bisecting the issue.

From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Tested-by: Martin Rogge <marogge@onlinehome.de>
Tested-by: Milan Kocian <milon@wq.cz>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/cmd64x.c