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

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

No files matched your search

+1 -1
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);