|
|
f96e0b |
From 5aaeba2813e16d393e7f87b918734044c86743f0 Mon Sep 17 00:00:00 2001
|
|
|
f96e0b |
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
Date: Mon, 25 Mar 2013 10:32:56 +0100
|
|
|
f96e0b |
Subject: [PATCH 234/482] * grub-core/disk/ahci.c: Give more time for
|
|
|
f96e0b |
AHCI request.
|
|
|
f96e0b |
|
|
|
f96e0b |
---
|
|
|
f96e0b |
ChangeLog | 4 ++++
|
|
|
f96e0b |
grub-core/disk/ahci.c | 2 +-
|
|
|
f96e0b |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
f96e0b |
|
|
|
f96e0b |
diff --git a/ChangeLog b/ChangeLog
|
|
|
f96e0b |
index 5ca62d0..615c9a1 100644
|
|
|
f96e0b |
--- a/ChangeLog
|
|
|
f96e0b |
+++ b/ChangeLog
|
|
|
f96e0b |
@@ -1,5 +1,9 @@
|
|
|
f96e0b |
2013-03-25 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
|
|
|
f96e0b |
+ * grub-core/disk/ahci.c: Give more time for AHCI request.
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+2013-03-25 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
+
|
|
|
f96e0b |
* grub-core/normal/menu.c: Wait if there were errors shown at "boot"
|
|
|
f96e0b |
command.
|
|
|
f96e0b |
|
|
|
f96e0b |
diff --git a/grub-core/disk/ahci.c b/grub-core/disk/ahci.c
|
|
|
f96e0b |
index f9258fd..143ab97 100644
|
|
|
f96e0b |
--- a/grub-core/disk/ahci.c
|
|
|
f96e0b |
+++ b/grub-core/disk/ahci.c
|
|
|
f96e0b |
@@ -619,7 +619,7 @@ grub_ahci_readwrite_real (struct grub_ahci_device *dev,
|
|
|
f96e0b |
grub_dprintf ("ahci", "AHCI tfd = %x\n",
|
|
|
f96e0b |
dev->hba->ports[dev->port].task_file_data);
|
|
|
f96e0b |
|
|
|
f96e0b |
- endtime = grub_get_time_ms () + (spinup ? 10000 : 1000);
|
|
|
f96e0b |
+ endtime = grub_get_time_ms () + (spinup ? 10000 : 5000);
|
|
|
f96e0b |
while ((dev->hba->ports[dev->port].command_issue & 1))
|
|
|
f96e0b |
if (grub_get_time_ms () > endtime)
|
|
|
f96e0b |
{
|
|
|
f96e0b |
--
|
|
|
f96e0b |
1.8.2.1
|
|
|
f96e0b |
|