]> git.ipfire.org Git - thirdparty/grub.git/commit
disk/ahci.c: Use defines `GRUB_AHCI_HBA_PORT_CMD_SPIN_UP` and `GRUB_AHCI_HBA_PORT_CMD...
authorPaul Menzel <paulepanter@users.sourceforge.net>
Thu, 28 May 2015 17:14:19 +0000 (19:14 +0200)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Fri, 12 Jun 2015 06:43:00 +0000 (09:43 +0300)
commitf4b1b48a837a034748a103adc7e9fd719a39ce42
treea4506e6368de9da29dd25e50994863407203dd1f
parentdf2aaf94b8d76b1ff7479ad5dc990f3efa30e419
disk/ahci.c: Use defines `GRUB_AHCI_HBA_PORT_CMD_SPIN_UP` and `GRUB_AHCI_HBA_PORT_CMD_POWER_ON`

Instead of hard coding `2` and `4` use the macros defined already at the
top of the file. As a consequence, wrap the now too long line.
grub-core/disk/ahci.c