* grub-core/disk/ahci.c: Give more time for AHCI request.
This commit is contained in:
parent
daae8f9e6d
commit
8990963a7f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-03-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/disk/ahci.c: Give more time for AHCI request.
|
||||
|
||||
2013-03-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/menu.c: Wait if there were errors shown at "boot"
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue