On Sat, May 27 2006, Jeff Garzik wrote: > >+ msleep(500); > > pci_set_power_state(pdev, PCI_D0); > > pci_restore_state(pdev); > > pci_enable_device(pdev); > > Does it work if you move msleep() below pci_restore_state()? > " " " " below pci_enable_device()? Placement makes no difference here, it works after pci_enable_device() as well. What matters is the delay coming before the ata_busy_wait(). You could just stuff it in front of that, if you wanted. -- Jens Axboe - : 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