diff options
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r-- | firmware/drivers/ata.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 58349f69a6..9a61c2e0a4 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -173,6 +173,12 @@ int ata_read_sectors(unsigned long start, | |||
173 | int count; | 173 | int count; |
174 | void* buf; | 174 | void* buf; |
175 | 175 | ||
176 | if ( incount > 1 ) | ||
177 | DEBUGF("[Reading %d blocks: 0x%x to 0x%x]\n", | ||
178 | incount, start, start+incount-1); | ||
179 | else | ||
180 | DEBUGF("[Reading block 0x%x]\n", start); | ||
181 | |||
176 | last_disk_activity = current_tick; | 182 | last_disk_activity = current_tick; |
177 | 183 | ||
178 | mutex_lock(&ata_mtx); | 184 | mutex_lock(&ata_mtx); |