From: Sergei Shtylyov Date: Sat, 5 May 2007 20:03:49 +0000 (+0200) Subject: cmd64x: interrupt status fixes (take 2) X-Git-Tag: v2.6.22-rc1~1028 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e51e2528d589c13f0e51dfa671c310021d003e21;p=pandora-kernel.git cmd64x: interrupt status fixes (take 2) The driver's ide_dma_test_irq() method was reading the MRDMODE register even on PCI0643/6 where it was write-only -- fix this by always reading the "backward- compatible" interrupt bits, renaming dma_alt_stat to irq_stat as the interrupt status bits are not coupled to DMA. In addition, wrong interrupt bit was tested/cleared for the primary channel -- it's bit 2 in all the chip specs and the driver used bit 1... :-/ Signed-off-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed