Re: Smartmedia/xd card support - request for comments

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <joern@...>
Cc: <linux-kernel@...>, <tglx@...>, <ben@...>
Date: Friday, April 18, 2008 - 11:05 pm

--- Jörn Engel <joern@logfs.org> wrote:


As you understand, both smartmedia media and hosts follow certain spec (publicly available here:
http://www.ssfdc.or.jp/spec/index_e.htm, basic registration required). xd card spec is almost
identical, adding some cosmetic features and restrictions (such as prohibition of single page
programming). This means, that smartmedia access protocol can be abstracted out in the
reader-independent way. You can seen in the xd_card_blk.c that it can operate both completely dumb
controllers, while taking protocol shortcuts (using host->caps) to accommodate smarter readers
(the only feature currently not there is adapter-side page copy - it can be easily added under
FBD_COPY clause in xd_card_trans_req). The backend itself (jmb38x_xd.c) should not concern itself
with details of smartmedia spec, as it will directly lead to code duplication among backends.

I meant here the ability of user to look and modify CIS page, as well as look at the current block
translation table.


Revamping the underlying architecture of mtd will break a lot of stuff in the process, doesn't it?


I was not moving to submit just yet. As it's not my first submission, I "prefetched" some time for
an usual flame war.



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Smartmedia/xd card support - request for comments, Alex Dubov, (Thu Apr 17, 4:50 am)
Re: Smartmedia/xd card support - request for comments, Thomas Gleixner, (Thu Apr 17, 9:35 am)
Re: Smartmedia/xd card support - request for comments, Thomas Gleixner, (Thu Apr 17, 9:38 am)
Re: Smartmedia/xd card support - request for comments, Thomas Gleixner, (Thu Apr 17, 3:11 pm)
Re: Smartmedia/xd card support - request for comments, Alex Dubov, (Fri Apr 18, 11:05 pm)
Re: Smartmedia/xd card support - request for comments, Thomas Gleixner, (Sat Apr 19, 2:37 am)
Re: Smartmedia/xd card support - request for comments, Alex Dubov, (Sat Apr 19, 10:25 pm)
Re: Smartmedia/xd card support - request for comments, Thomas Gleixner, (Fri Apr 18, 5:35 am)
Re: Smartmedia/xd card support - request for comments, Alex Dubov, (Fri Apr 18, 10:49 pm)
Re: Smartmedia/xd card support - request for comments, Thomas Gleixner, (Sat Apr 19, 1:56 am)
Re: Smartmedia/xd card support - request for comments, Andy Lutomirski, (Thu Apr 17, 9:10 am)
Re: Smartmedia/xd card support - request for comments, Arnd Bergmann, (Thu Apr 17, 9:36 am)