Re: Smartmedia/xd card support - request for comments

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

Unfortunately, I must say, Smartmedia is not supported on linux for any reasonable definition of
the word.

First, with all the respect to Jorn, alauda driver can only be considered "proof of concept". It
does not try to abstract any smartmedia functionality.

Second, ssfdc is hopelessly obsolete and requires rewrite.

Third, there's no attempt made by mtd to support advanced functionality present in many smartmedia
and all memorystick readers: adapter side copy and multi page programming (this mostly relates to
memorystick, of course). I also failed to see any support for device writing policy, needed to
discern, for example, sequential page programmable devices vs. block programmable devices. I also
failed to see an unified approach to page-accessible devices, meaning duplication of "bouncing"
code in the backends.

In general, block device emulation layer of mtd is incomplete at best.

No infrastructure exists for exporting and manipulation of metadata in userspace.

And, in general, architecture of mtd is suboptimal, relying on blocking calls (as opposed to
callback based architecture).

Considering all this, amount of effort needed for satisfactory support of smartmedia through mtd
was found by me to be far greater than coming with stand-alone implementation. I do agree, that
eventually my work can be merged into mtd. I don't see what prevents merging of my implementation
as is on an interim basis, considering there are no real alternatives.

In case somebody is actually interested in looking at the code:

http://svn.berlios.de/wsvn/tifmxx/trunk/driver/#_trunk_driver_



      ____________________________________________________________________________________
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, 4:47 am)
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)