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 : [email protected]
http://openwrt.org
-------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to