[OpenWrt-Devel] [PATCH] spi-gpio: Implement spidelay() for busses that need it.

2009-02-15 Thread Michael Buesch
Implement the SPI-GPIO delay function for busses that need speed limitation. If the special all-inline API is used, the delay is disabled at compiletime. Otherwise it's an unlikely condition that can be disabled via max_speed_hz. So it should have minimal or zero impact on the speed of implementati

[OpenWrt-Devel] [PATCH] spi-gpio: Sanitize MISO bitvalue

2009-02-15 Thread Michael Buesch
gpio_get_value() returns 0 or nonzero, but getmiso() expects 0 or 1. Sanitize the value to a 0/1 boolean. Signed-off-by: Michael Buesch --- Well, we could also change the bitbang helpers in linux/spi/spi_bitbang.h or change the way the gpio_get_value API is defined, but I personally think this

Re: [OpenWrt-Devel] [PATCH] bcm47xx: Fix GPIO API return codes

2009-02-15 Thread Michael Buesch
On Sunday 15 February 2009 14:27:36 Florian Fainelli wrote: > Hi Michael, > > Le Saturday 14 February 2009 21:27:19 Michael Buesch, vous avez écrit : > > The GPIO API is supposed to return 0 or a negative error code, > > but the SSB GPIO functions return the bitmask of the GPIO register. > > Fix t

Re: [OpenWrt-Devel] Jabber/XMPP Lua Server

2009-02-15 Thread Florian Fainelli
Hey again Lorenzo, Le Saturday 14 February 2009 15:01:51 OrazioPirataDelloSpazio (Lorenzo), vous avez écrit : > Hi all, > I want to test a Jabber/XMPP lightweight server. > I find this one, that is written in LUA, and that is the only one that > can be ported to embedded device(to the best of my

Re: [OpenWrt-Devel] [PATCH] bcm47xx: Fix GPIO API return codes

2009-02-15 Thread Florian Fainelli
Hi Michael, Le Saturday 14 February 2009 21:27:19 Michael Buesch, vous avez écrit : > The GPIO API is supposed to return 0 or a negative error code, > but the SSB GPIO functions return the bitmask of the GPIO register. > Fix this by ignoring the bitmask and always returning 0. The SSB GPIO > funct

Re: [OpenWrt-Devel] [PATCH] update p54 firmware and fix mac80211 dependancy

2009-02-15 Thread Gabor Juhos
Jan Willies írta: > Signed-off-by: Jan Willies > --- > package/mac80211/Makefile | 31 ++- > 1 files changed, 22 insertions(+), 9 deletions(-) > > diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile > index c5a4bfd..723fb2a 100644 > --- a/package/mac8