* grub-core/disk/ahci.c (grub_ahci_pciinit): Fix compat condition.
This commit is contained in:
parent
bf3a385792
commit
48d6e45653
@ -1,3 +1,7 @@
|
||||
2011-12-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/disk/ahci.c (grub_ahci_pciinit): Fix compat condition.
|
||||
|
||||
2011-11-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Add missing const qualifiers.
|
||||
|
||||
@ -305,7 +305,7 @@ grub_ahci_pciinit (grub_pci_device_t dev,
|
||||
else
|
||||
grub_dprintf ("ahci", "AHCI is already in OS mode\n");
|
||||
|
||||
if (~(hba->global_control & GRUB_AHCI_HBA_GLOBAL_CONTROL_AHCI_EN))
|
||||
if (!(hba->global_control & GRUB_AHCI_HBA_GLOBAL_CONTROL_AHCI_EN))
|
||||
grub_dprintf ("ahci", "AHCI is in compat mode. Switching\n");
|
||||
else
|
||||
grub_dprintf ("ahci", "AHCI is in AHCI mode.\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user