dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Storage drivers rework

Storage drivers rework

From: Frank Gevaerts <>
Date: Thu, 30 Oct 2008 22:11:28 +0100


I've made some progress in my reorganisation of various storage drivers.
The plan is to have most code use storage_*() calls instead of ata_*(),
with storage_*() being wrappers that call ata_*(), mmc_*(), sd_*() or
nand_*() functions. This will make life easier on targets that have
multiple different storage systems, like the Cowon D2 (NAND and SD) or
the Tatung Elio (HD and SD), as those will just have to add some
selection logic to the wrappers.

The current patch is at FS#9500. It implements all of the above, but
isn't tested yet. I'll get to that during the coming days, but helpmis

Since this patch touches code all over the place, I think it needs
a bit more review than the usual patch, so please have a look at it,
and let me know what you think.


"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
Received on 2008-10-31

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy