> #define DELAY400NS { pio_inbyte( CB_ASTAT ); pio_inbyte( CB_ASTAT ); \ > pio_inbyte( CB_ASTAT ); pio_inbyte( CB_ASTAT ); } > > Totally unrelated. Hal is using the cycle time of the four I/O reads to do the 400nS delay. Its a neat way to do the delay on boxes without modern CPUs and nice timing features and perhaps one we should use on those boxes but its not relevant to the question of how you post an MMIO command write. 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