* grub-core/disk/ahci.c: Ignore NPORTS field and rely on PI

exclusively.
This commit is contained in:
Vladimir Serbinenko 2014-02-20 10:11:43 +01:00
parent 9585647a25
commit d0949e3747
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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);