mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* grub-core/disk/ahci.c: Give more time for AHCI request.
This commit is contained in:
1 parent
daae8f9e6d
commit
8990963a7f
2 files changed
+5
-1
No files matched your search
@@ -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>
|
2013-03-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/normal/menu.c: Wait if there were errors shown at "boot"
|
* 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",
|
grub_dprintf ("ahci", "AHCI tfd = %x\n",
|
||||||
dev->hba->ports[dev->port].task_file_data);
|
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))
|
while ((dev->hba->ports[dev->port].command_issue & 1))
|
||||||
if (grub_get_time_ms () > endtime)
|
if (grub_get_time_ms () > endtime)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user