Jeff Garzik wrote: > Alan Cox wrote: >>> All BMDMA controllers I know about are sata_sil (already has private >>> irq handler) and ata_piix (this patch). Alan, how do other >>> controllers do it? >> >> CMD chipsets do a register read .. from PCI config space (gak) >> SIL680 is similar >> SI3112 adds the fact you need to keep at the PHY as well. >> Promise uses a magic register at dmabase + 0x1D which holds irq bits >> >> What I'd like to understand better is why we need any >> of these ... > > Indeed! Well, this patch was necessary for a netbook with PATA SSD. The ATA implementation of the SSD was quite flaky and under certain circumstances, during resume SRST, the drive would raise the IRQ line regardless of NIEN and will stay that way for several seconds, thus triggering nobody cared. Other than detecting and clearing the spurious IRQ, there just isn't much driver can do to work around problems like this. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html