Starting with 2.6.28-rc, ethernet on one of my au1200 boards stopped working
due to the IRQ it was hooked up to not having a flow handler installed.
So I decided to take a look at the alchemy irq code and came up with the
It adds struct irq_chip for IC0 and IC1, a set_type() callback to change
IRQ type at runtime (should be useful for GPIO too), a set_wake() callback
to enable GPIO-based wakeup, merge the cpu-fixed irqmap into irq.c file
(IIRC next-gen Alchemy SoC use a different IRQ controller, so this map
should not change much in the future anyway. Also, I hate all those
extern declarations and try to get rid of them when possible).
Tested on the Db1200 and custom Au1200 platform, works very well so
The patch is against my code-consolidation changes.
Feedback very welcome!