2014-06-24 15:18:06 +00:00
|
|
|
From 7f4e3839c9b872f0981e1ecdecfa2bd91065f99c Mon Sep 17 00:00:00 2001
|
2014-03-13 18:02:22 +00:00
|
|
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
Date: Thu, 20 Feb 2014 10:11:43 +0100
|
2014-06-24 15:18:06 +00:00
|
|
|
Subject: [PATCH 060/125] * grub-core/disk/ahci.c: Ignore NPORTS field
|
2014-03-13 18:02:22 +00:00
|
|
|
and rely on PI exclusively.
|
|
|
|
|
|
|
|
---
|
|
|
|
ChangeLog | 5 +++++
|
|
|
|
grub-core/disk/ahci.c | 2 +-
|
|
|
|
2 files changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/ChangeLog b/ChangeLog
|
2014-06-24 15:18:06 +00:00
|
|
|
index 5237631..be41aa5 100644
|
2014-03-13 18:02:22 +00:00
|
|
|
--- a/ChangeLog
|
|
|
|
+++ b/ChangeLog
|
|
|
|
@@ -1,3 +1,8 @@
|
|
|
|
+2014-02-20 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
+
|
|
|
|
+ * grub-core/disk/ahci.c: Ignore NPORTS field and rely on PI
|
|
|
|
+ exclusively.
|
|
|
|
+
|
|
|
|
2014-02-04 Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
|
|
|
|
|
|
|
|
Add bootpath parser for open firmware.
|
|
|
|
diff --git a/grub-core/disk/ahci.c b/grub-core/disk/ahci.c
|
|
|
|
index 5e4a639..89365cd 100644
|
|
|
|
--- a/grub-core/disk/ahci.c
|
|
|
|
+++ b/grub-core/disk/ahci.c
|
|
|
|
@@ -322,7 +322,7 @@ grub_ahci_pciinit (grub_pci_device_t dev,
|
|
|
|
|
|
|
|
grub_dprintf ("ahci", "GLC:%x\n", hba->global_control);
|
|
|
|
|
|
|
|
- nports = (hba->cap & GRUB_AHCI_HBA_CAP_NPORTS_MASK) + 1;
|
|
|
|
+ nports = (GRUB_AHCI_HBA_CAP_NPORTS_MASK) + 1;
|
|
|
|
|
|
|
|
grub_dprintf ("ahci", "%d AHCI ports, PI = 0x%x\n", nports,
|
|
|
|
hba->ports_implemented);
|
|
|
|
--
|
2014-05-05 17:17:26 +00:00
|
|
|
1.9.0
|
2014-03-13 18:02:22 +00:00
|
|
|
|