summaryrefslogtreecommitdiff
path: root/firmware/storage.c (follow)
Commit message (Collapse)AuthorAge
* Remove ata_removable() and ata_present() from multidriver code.Frank Gevaerts2012-01-25
| | | | | | | | | | ata_removable() and ata_present() no longer exist (ATA drives are never removable with our current drivers), so storage.c shouldn't try to call them from the wrapper functions. This was never noticed because these wrapper functions are only used for multidriver code, which happens not to be used with ATA currently. Change-Id: Icb5e8cb27cdbef3edc0e51c35dc40dadf4f9de29
* Change the thread api a bit.Thomas Martitz2011-03-05
| | | | | | | * Remove THREAD_ID_CURRENT macro in favor of a thread_self() function, this allows thread functions to be simpler. * thread_self_entry() shortcut for kernel.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29521 a1c6a512-1295-4272-9138-f99709370657
* Add #include to power-ipod.c, make some variables static in storage.cBertrik Sikken2010-07-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27634 a1c6a512-1295-4272-9138-f99709370657
* No need to break after a returnFrank Gevaerts2010-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26398 a1c6a512-1295-4272-9138-f99709370657
* fix broken case handling in storage_present() and storage_removable(). Those ↵Frank Gevaerts2010-05-29
| | | | | | were buggy for targets with a hotswappable drive *and* more than one storage driver (i.e. only the D2 was probably affected) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26395 a1c6a512-1295-4272-9138-f99709370657
* use THREAD_ID_CURRENT instead of thread_get_current()Frank Gevaerts2010-04-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25463 a1c6a512-1295-4272-9138-f99709370657
* Add IO priority handling. Currently all IO has equal priority, except the ↵Frank Gevaerts2010-04-03
| | | | | | | | | | | | dircache scanning thread which is lower. This fixes the slow boot problem for me, with the added benefit that actual audio playback also starts faster. Lots of the changes are due to changing storage_(read|write)sectors() from macros to wrapper functions. This means that they have to be called with IF_MD2(drive,) again. Flyspray: FS#11167 Author: Frank Gevaerts git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25459 a1c6a512-1295-4272-9138-f99709370657
* Core changes to allow storage drivers to do cleanup on shutdown, and iPod ↵Michael Sparmann2009-10-09
| | | | | | Nano 2G shutdown code rework (FS#10668) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23057 a1c6a512-1295-4272-9138-f99709370657
* svn properties, late as usualFrank Gevaerts2009-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21936 a1c6a512-1295-4272-9138-f99709370657
* don't try to call nand_soft_reset() or nand_disk_is_active(), they don't existFrank Gevaerts2009-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21934 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9545, storage cleanup and multi-driver supportFrank Gevaerts2009-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
* implement single-driver storage layer with macros instead of inlinesFrank Gevaerts2008-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18975 a1c6a512-1295-4272-9138-f99709370657
* Now also commit added filesFrank Gevaerts2008-11-01
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18961 a1c6a512-1295-4272-9138-f99709370657