--- 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 --
| Benjamin Herrenschmidt | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Mariusz Kozlowski | [PATCH 03] drivers/sbus/char/bbc_envctrl.c: kmalloc + memset conversion to kzalloc |
| Yinghai Lu | [PATCH 02/16] x86: introduce nr_irqs for 64bit v3 |
git: | |
| Gerrit Renker | [PATCH 13/37] dccp: Deprecate Ack Ratio sysctl |
| James Morris | Re: [GIT]: Networking |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
