diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-10-26 17:12:24 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-10-26 17:13:38 -0400 |
commit | 9281ec2e42d2262923c5241135c10034d2897216 (patch) | |
tree | afd48915d4c4fa61c632261753891904260cfa4e | |
parent | 3951fbf9d2b5609b44aa639f6c24e0d970cbf931 (diff) | |
download | rockbox-9281ec2e42d2262923c5241135c10034d2897216.tar.gz rockbox-9281ec2e42d2262923c5241135c10034d2897216.zip |
Fix red in 3951fbf9d2
...Toshiba Gigabeat S is the only user of the ATA driver with UDMA>2
Change-Id: Ifb854da1c6a8ff1f696b908cc7c1f11d7d10be3f
-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 */ |