OK, thanks for clarifying that. I guess this means you will not be implementing RDC GPIOLIB support any time soon. I will look into this if others are interested.
--- On Thu, 26/3/09, Florian Fainelli <flor...@openwrt.org> wrote: > From: Florian Fainelli <flor...@openwrt.org> > Subject: Re: [OpenWrt-Devel] RDC GPIO broken? > To: openwrt-devel@lists.openwrt.org > Cc: "bifferos" <biffe...@yahoo.co.uk> > Date: Thursday, 26 March, 2009, 9:08 AM > > -----Inline Attachment Follows----- > > Hi Simon, > > Le Thursday 26 March 2009 01:10:25 bifferos, vous avez > écrit : > > I'm not very familiar with the kernel Kconfig/makefile > layout, but it seems > > the mach-rdc321x stuff, namely gpio.c and platform.c > in > > arch/x86/mach-rdc321x/ don't get compiled. I > couldn't work out if there > > was some kernel option needed to enable them, but > judging from the other > > x86 architectures I think the above patch is what's > needed. > > > > I'm baffled as to why this would be missing - it seems > this is broken all > > the way from 2.6.27.5 -> 2.6.28.8. I guess > nobody uses GPIO on RDC > > platforms? > > The x86 maintainers wanted me to convert RDC to the x86 > generic platform which > I could not do in time, therefore I agreed on letting it > that way and not > compile the platform code. At the time they asked me to do > this I only had an > Airlink A525W which has a stupid limitation on the kernel > size and I could > not get a 2.6.25 kernel to boot on it. > > So no, this is not what was expected, but provided that I > did not have time to > fix this, this is what happened. Feel free to submit the > necessary patches > mainline to avoid maintaining local patches any longer. > > Small hints : > > - RDC has a different PIT_TICK_RATE value than what the x86 > generic code > expects, there is no infrastructure to runtime change the > tick rate > - runtime detection should be done reading the presence of > a R6040 Ethernet > MAC on the PCI bus since RDC provides no CPUID thus is > always detected as an > unknown 486 CPU > -- > Best regards, Florian Fainelli > Email : flor...@openwrt.org > http://openwrt.org > ------------------------------- > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel