mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/disk/ahci.c (grub_ahci_pciinit): Fix compat condition.
This commit is contained in:
1 parent
bf3a385792
commit
48d6e45653
2 files changed
+5
-1
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user