* grub-core/disk/ahci.c: Ignore NPORTS field and rely on PI
exclusively.
This commit is contained in:
parent
9585647a25
commit
d0949e3747
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue