summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 26602b1342..8c0292d474 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -205,6 +205,7 @@ int ata_read_sectors(unsigned long start,
205 count = incount; 205 count = incount;
206 while (TIME_BEFORE(current_tick, timeout)) { 206 while (TIME_BEFORE(current_tick, timeout)) {
207 ret = 0; 207 ret = 0;
208 last_disk_activity = current_tick;
208 209
209 if ( count == 256 ) 210 if ( count == 256 )
210 ATA_NSECTOR = 0; /* 0 means 256 sectors */ 211 ATA_NSECTOR = 0; /* 0 means 256 sectors */