Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: access ata next time its spun up working patch

access ata next time its spun up working patch

From: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Mon, 28 Aug 2006 00:52:17 +1000

hey,
amiconn mentioned the need to access the hdd next time its spun up, so
here it is...
to use this, a function needs to be registered as a callback. it will
then be called next time the disk is accessed.

I have only implemented it for ata.c and the sim because im not sure
how it should go into ata_mmc.c and ata_flash.c, but apart from that
the code is safe and ready to go..

Received on 2006-08-27

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa