[PATCH] libata: add a function to decide if we need iordy