> This reminds me of a possible issue with the patch: > Previously the polling code assumes that the interrupt handler won't interfere > with it and the polling code runs without holding ap->lock. > However, with the above patch, the interrupt handler might read the > Status register when the polling code is transfering data, etc. from the port. > Would this cause trouble to the ATA/ATAPI devices? Oh yes, and also some controllers will corrupt their data stream if you do this during a PIO transfer of a block of ATA data. Alan - 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