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