diff options
-rw-r--r-- | firmware/drivers/ata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index cb857158ca..c995f6de85 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -1118,7 +1118,7 @@ static int set_features(void) | |||
1118 | if (identify_info[53] & (1<<2)) { | 1118 | if (identify_info[53] & (1<<2)) { |
1119 | int max_udma = ATA_MAX_UDMA; | 1119 | int max_udma = ATA_MAX_UDMA; |
1120 | #if ATA_MAX_UDMA > 2 | 1120 | #if ATA_MAX_UDMA > 2 |
1121 | if (!(ata_identify_data[93] & BIT(13))) | 1121 | if (!(identify_info[93] & (1<<13))) |
1122 | max_udma = 2; | 1122 | max_udma = 2; |
1123 | #endif | 1123 | #endif |
1124 | /* Ultra DMA mode info present, find a mode */ | 1124 | /* Ultra DMA mode info present, find a mode */ |