lkml.org 
[lkml]   [1999]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Designing a keyboard controller
Date
From
>That looks like a good solution. The question remains then: what does an
>8042 'look like', as seen from Linux ?

Just a set of data and status registers really. See drivers/char/pc_keyb.c,
or the RiscPC keyboard driver for another way of doing things (the Acorn
hardware provides its own PS/2 interface).

>A semi-related question: is it possible for multiple different devices on
>an ISA-ish bus to share an interrupt *on the processor side* ? For example,
>say I have a custom PIC which multiplexes (logic OR) the interrupt output
>of a keyboard controller with the interrupt output of an IDE controller
>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.

p.



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.147 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site