Subject: Interrupts and system startup
To: None <port-hp300@NetBSD.ORG>
From: mike smith <miff@spam.frisbee.net.au>
List: port-hp300
Date: 04/06/1997 11:56:35
Working on the 'real' driver for the Apollo keyboard, I'm
having problems with interrupts 8(
Specifically, I need to talk to the keyboard and enable
interrupts from it during the attach phase of the probe.
Unfortunately, generating interrupts then causes them not
to be handled (lots of 'intrhand: ipl 5 unexpected' messages).
Jason has also intimated that he wants to turn interrupts
off during the probe phase.
So I need to find some way of delaying the initialisation
of the keyboard until after the interrupt handlers are assigned.
Is there a hook I can grab somewhere that will let me know
about this? Should I wait for the first read from the ite?
And how do I attach a new keyboard to the ite anyway? It
all looks a bit hil-incestuous.
--
Mike Smith *BSD hack Unix hardware collector
The question "why are the fundamental laws of nature mathematical"
invites the trivial response "because we define as fundamental those
laws which are mathematical". Paul Davies, _The_Mind_of_God_