summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/ata.c2
-rw-r--r--firmware/drivers/ata.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 2451a86..807d441 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -98,7 +98,7 @@ static unsigned char delayed_sector[SECTOR_SIZE];
static int delayed_sector_num;
static long last_user_activity = -1;
-static long last_disk_activity = -1;
+long last_disk_activity = -1;
static int multisectors; /* number of supported multisectors */
static unsigned short identify_info[SECTOR_SIZE];
diff --git a/firmware/drivers/ata.h b/firmware/drivers/ata.h
index da5c5e3..df4461e 100644
--- a/firmware/drivers/ata.h
+++ b/firmware/drivers/ata.h
@@ -45,4 +45,6 @@ extern void ata_delayed_write(unsigned long sector, void* buf);
extern void ata_flush(void);
extern void ata_spin(void);
+extern long last_disk_activity;
+
#endif