summaryrefslogtreecommitdiff
path: root/firmware/export/ata_idle_notify.h (follow)
Commit message (Collapse)AuthorAge
* dont allow the ata callbacks to be run less than once every 30s unlessJonathan Gordon2006-11-26
| | | | | | | | | explicitly forced to. The sleep_after param is only true in the Q_SLEEP event, so its uneeded, so removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11599 a1c6a512-1295-4272-9138-f99709370657
* fixed once again.Jonathan Gordon2006-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11464 a1c6a512-1295-4272-9138-f99709370657
* fix booboo in ata.c (SYS_POWEROFF falling into SYS_USB_CONNECTED)Jonathan Gordon2006-11-08
| | | | | | | | | enable ata_idle callbacks in ata_mmc.c (calls the callbacks after 10s of real inactivity) fix builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11462 a1c6a512-1295-4272-9138-f99709370657
* * changes to ata.c - idle callbacks are called after 2 sec of real idle,Jonathan Gordon2006-11-08
| | | | | | | | | | | | and shutdown and usb (it makes sense here). ata_sleep doesnt get broken by callbacks. * allow ata_sleep() at the end of buffering again * config block uses ata_idle instead of delayed sector when saving * remove delayed sector code from ata_mmc.c (idle callbacks are not yet implemented for ata_mmc.c tho) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11461 a1c6a512-1295-4272-9138-f99709370657
* adds ata_idle_notify system which allows callbacks in apps/ to be calledJonathan Gordon2006-11-06
when the hard disk is idle but spinning, and just before shutting down. on SWCODEC targets with > 8MB RAM the playback engine will try to refill the buffer if it is less than 75% full while the disk is spinning (temporarily disabled on the nano) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11451 a1c6a512-1295-4272-9138-f99709370657