summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r--firmware/drivers/ata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 87f41b4ff1..d4a3856a76 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1452,7 +1452,7 @@ void ata_poweroff(bool enable)
1452 1452
1453bool ata_disk_is_active(void) 1453bool ata_disk_is_active(void)
1454{ 1454{
1455#ifdef APPLE_IPODNANO 1455#ifdef IPOD_NANO
1456 return false; 1456 return false;
1457#else 1457#else
1458 return !sleeping; 1458 return !sleeping;
@@ -1465,7 +1465,7 @@ static int ata_perform_sleep(void)
1465 1465
1466 /* ATA sleep is currently broken on Nano, and will hang all subsequent 1466 /* ATA sleep is currently broken on Nano, and will hang all subsequent
1467 accesses, so disable until we find a cure. */ 1467 accesses, so disable until we find a cure. */
1468#ifndef APPLE_IPODNANO 1468#ifndef IPOD_NANO
1469 mutex_lock(&ata_mtx); 1469 mutex_lock(&ata_mtx);
1470 1470
1471 SET_REG(ATA_SELECT, ata_device); 1471 SET_REG(ATA_SELECT, ata_device);