Re: Designing a keyboard controller

linux@arm.linux.org.uk
Tue, 14 Sep 1999 19:49:33 +0100 (BST)


Philip Blundell writes:
> >onto one interrupt line for the processor. Does this work, or do I break
> >any hidden assumptions in either the keyboard or the IDE driver ?
>
> That should be fine. The IDE driver can already share interrupts; not sure
> about the keyboard driver but it could be taught to do so easily enough.

Sorry to drop in some bad news, but it seems that some people have a
misunderstanding of the shared IRQ system.

Shared IRQs only work if all devices on the IRQ line agree to be sharable.
The way the IDE driver currently works in Linux is that it's IRQ is only
sharable if and only if it's "chipset" is on PCI.

Therefore, you would have to teach the IDE and the keyboard driver to
share interrupts.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King linux@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/~rmk/armlinux.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/