Re: [OpenWrt-Devel] [PATCH] Add dynamic MMC-over-SPI-GPIO driver

2008-07-15 Thread Michael Buesch
On Monday 14 July 2008 21:09:18 Michael Buesch wrote: > This driver provides a sysfs interface to dynamically create > and destroy GPIO-based MMC/SD card interfaces. > So an MMC or SD card can be connected to generic GPIO pins > and be configured dynamically from userspace. Ok, I had requests in p

Re: [OpenWrt-Devel] [PATCH] Add dynamic MMC-over-SPI-GPIO driver

2008-07-15 Thread Michael Buesch
On Tuesday 15 July 2008 02:07:57 RHS Linux User wrote: > > Hi All, > >I wonder if this MMC driver can be extended to support 2 MMC devices? It does support an infinite amount of devices. See the initscript for adding another one. -- Greetings Michael. _

Re: [OpenWrt-Devel] [PATCH] Add dynamic MMC-over-SPI-GPIO driver

2008-07-15 Thread Michael Buesch
On Tuesday 15 July 2008 07:06:49 Ben Nizette wrote: > > On Mon, 2008-07-14 at 21:09 +0200, Michael Buesch wrote: > > This driver provides a sysfs interface to dynamically create > > and destroy GPIO-based MMC/SD card interfaces. > > So an MMC or SD card can be connected to generic GPIO pins > > an

Re: [OpenWrt-Devel] [PATCH] Add dynamic MMC-over-SPI-GPIO driver

2008-07-15 Thread Michael Buesch
On Monday 14 July 2008 22:54:41 Andrew Morton wrote: > > +static int gpiommc_probe(struct platform_device *pdev) > > +{ > > + static int instance; > > + struct gpiommc_device *d = platform_get_drvdata(pdev); > > + struct spi_gpio_platform_data pdata; > > + int err = -ENOMEM; > > + > > + d

Re: [OpenWrt-Devel] [PATCH] Add dynamic MMC-over-SPI-GPIO driver

2008-07-15 Thread RHS Linux User
Hi All, I wonder if this MMC driver can be extended to support 2 MMC devices? John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] Add dynamic MMC-over-SPI-GPIO driver

2008-07-14 Thread Michael Buesch
This driver provides a sysfs interface to dynamically create and destroy GPIO-based MMC/SD card interfaces. So an MMC or SD card can be connected to generic GPIO pins and be configured dynamically from userspace. Signed-off-by: Michael Buesch <[EMAIL PROTECTED]> --- This driver is used in OpenWr