From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755126AbYDQVWB (ORCPT ); Thu, 17 Apr 2008 17:22:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751697AbYDQVVx (ORCPT ); Thu, 17 Apr 2008 17:21:53 -0400 Received: from lazybastard.de ([212.112.238.170]:49149 "EHLO longford.logfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751175AbYDQVVw (ORCPT ); Thu, 17 Apr 2008 17:21:52 -0400 Date: Thu, 17 Apr 2008 23:21:38 +0200 From: =?utf-8?B?SsO2cm4=?= Engel To: Thomas Gleixner Cc: Alex Dubov , Ben Dooks , Linux kernel mailing list Subject: Re: Smartmedia/xd card support - request for comments Message-ID: <20080417212138.GA343@logfs.org> References: <257448.48285.qm@web36701.mail.mud.yahoo.com> <20080417140734.GA30001@logfs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 April 2008 21:11:30 +0200, Thomas Gleixner wrote: > > Oops. I did not bother to look into drivers/mtd and for some reason it > slipped out of my memory that it got mainlined. It's read only, but > the missing bits to make it r/w are not that hard. At least less code > than duplicating code all over the place for no good reason. Indeed. If some janitor or kernel-newbie is looking for a fun project, most of the code in drivers/usb/storage/*.c can be abstracted out to a library implementation and possibly combined with drivers/mtd/ssfdc.c, drivers/mtd/nand/alauda.c and some others. Jörn -- The only good bug is a dead bug. -- Starship Troopers