* disk/ata.c (grub_ata_pciinit): Fix bit numbers of compatibility
mode check. Fix setting of compat_use[].
+2009-01-12 Christian Franke <franke@computer.org>
+
+ * disk/ata.c (grub_ata_pciinit): Fix bit numbers of compatibility
+ mode check. Fix setting of compat_use[].
+
2009-01-10 Robert Millan <rmh@aybabtu.com>
Update a few copyright years which we forgot to do in 2008 (only for
for (i = 0; i < 2; i++)
{
/* Set to 0 when the channel operated in compatibility mode. */
- int compat = (class >> (2 * i)) & 1;
+ int compat = (class >> (8 + 2 * i)) & 1;
rega = 0;
regb = 0;
{
rega = grub_ata_ioaddress[i];
regb = grub_ata_ioaddress2[i];
- compat_use[i] = 0;
+ compat_use[i] = 1;
}
else if (compat)
{