[parisc-linux] EISA support
Matthew Wilcox
willy@debian.org
Thu, 11 Oct 2001 02:40:10 +0100
On Wed, Oct 10, 2001 at 03:28:07PM +0100, Matthew Wilcox wrote:
> I haven't written that code yet. Basically, I need to allocate a new IRQ
> region for EISA interrupts, then on receipt of Asp irq 21 read the EISA
> interrupt number from 0xfc01f000. It seems there may be some extra gunk
> needed to handle the TI chipset, but I'll have a go at getting interrupts
> to work later today.
Turns out it's unsufferably ugly to do this right now, due to Mongoose
being a _sibling_ of Asp, not a _child_. So I've put a nasty patch at
ftp://puffin.external.hp.com/pub/parisc/src/eisa-irq.c which works enough
that it seems to claim the IRQs; but the hp100 driver just allocates
IRQ3 and doesn't allow any kind of fixup, so I haven't actually tested it.
I have a plan to allocate Mongoose's IRQ in a nicer way, but that will
have to wait until tomorrow. What do you think the best way would be
to fix EISA card IRQs? I have a couple of thoughts:
* Introduce a new EISA_IRQ_BASE macro that most architectures
define to 0.
* Reserve IRQ region 0 for EISA
Any better ideas?
--
Revolutions do not require corporate support.