diff --git a/ChangeLog b/ChangeLog index 5ca62d00b..615c9a1a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-03-25 Vladimir Serbinenko + + * grub-core/disk/ahci.c: Give more time for AHCI request. + 2013-03-25 Vladimir Serbinenko * grub-core/normal/menu.c: Wait if there were errors shown at "boot" diff --git a/grub-core/disk/ahci.c b/grub-core/disk/ahci.c index f9258fd8a..143ab97b3 100644 --- a/grub-core/disk/ahci.c +++ b/grub-core/disk/ahci.c @@ -619,7 +619,7 @@ grub_ahci_readwrite_real (struct grub_ahci_device *dev, grub_dprintf ("ahci", "AHCI tfd = %x\n", dev->hba->ports[dev->port].task_file_data); - endtime = grub_get_time_ms () + (spinup ? 10000 : 1000); + endtime = grub_get_time_ms () + (spinup ? 10000 : 5000); while ((dev->hba->ports[dev->port].command_issue & 1)) if (grub_get_time_ms () > endtime) {