On Fri, 18 Apr 2008, Alex Dubov wrote: First off, can you please use a mail client which does line breaks at around 78 chars ?That's all fine. Nobody asked for the backend to know about smartmedia on FLASH format details. The MTD NAND FLASH layer does not care about on FLASH data format at all. It provides merily access on the hardware level. I agree that your approach of making the SM/XD layer capable of handling clever and dumb hardware adapters is a good one. The point where I stringly disagree is that your implementation is forcing people with dumb hardware (see drivers/mtd/nand/*) to reimplement the (maybe already) existing drivers in order to make use of the ssfdc format, which will not work with the following real world example: ------------------ | NAND controller |----------| On board NAND | with HW ECC | | |----------| SmartMedia Card ------------------ Having a separate driver infrastructure for clever controllers, which provide only semi raw access to the FLASH chip is fine simply because such controllers do not fit into the MTD layer. Well, you probably do this with an iotctl anyway. So what's preventing you to modify the mtd block layer to handle client private ioctls. Also there is no real requirement to use the mtd block layer at all for that. Putting your layer on top of the raw MTD device is fine IMO. That's the best excuse I ever heard for not improving code which has shortcomings. Thanks, tglx --
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Andrew Morton | 2.6.25-mm1 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
