Re: [OpenWrt-Devel] [PATCH] Migrate mmc_over_gpio configuration to UCI

2008-03-22 Thread owrt-2008
> Ok, I looked at the diag code and I think this simply isn't going to work. > That gpiomask is a global mask that everybody can override. > In the end, I think diag needs a rewrite on 2.6 to use led-triggers and > stuff, properly. > > In any case, the gpiomask does not belong into the mmc_over_gp

Re: [OpenWrt-Devel] [PATCH] Migrate mmc_over_gpio configuration to UCI

2008-03-22 Thread Michael Buesch
On Saturday 22 March 2008 14:45:15 Michael Buesch wrote: > On Saturday 22 March 2008 14:37:10 [EMAIL PROTECTED] wrote: > > > I don't like that gpiomask. > > > Why is it needed? It's difficult for users to calculate it. > > > So we need to calculate that automatically, or remove the need to have it.

Re: [OpenWrt-Devel] [PATCH] Migrate mmc_over_gpio configuration to UCI

2008-03-22 Thread Michael Buesch
On Saturday 22 March 2008 14:37:10 [EMAIL PROTECTED] wrote: > > I don't like that gpiomask. > > Why is it needed? It's difficult for users to calculate it. > > So we need to calculate that automatically, or remove the need to have it. > > Though, calculating bitmasks might not be that easy in the s

Re: [OpenWrt-Devel] [PATCH] Migrate mmc_over_gpio configuration to UCI

2008-03-22 Thread Michael Buesch
On Saturday 22 March 2008 11:48:21 [EMAIL PROTECTED] wrote: > Here is my first attemt to migrate the configuration for the new MMC driver > (for Kernel 2.6) to UCI. Cool, thanks a lot. :) > With this patch you can configure mmc_over_gpio via UCI > (/etc/config/mmc_over_gpio). > If you have done

[OpenWrt-Devel] [PATCH] Migrate mmc_over_gpio configuration to UCI

2008-03-22 Thread owrt-2008
Here is my first attemt to migrate the configuration for the new MMC driver (for Kernel 2.6) to UCI. With this patch you can configure mmc_over_gpio via UCI (/etc/config/mmc_over_gpio). If you have done this you can use /etc/config/fstab to mount the partitions from the card or configure swap.