Subject: Re: console polling interrupts
To: None <>
From: Jaromír <>
List: tech-kern
Date: 06/17/2001 18:25:05
Well, it seems there is a keyboard interrupt enable bit
in controller mode byte (we don't use this, I looked into Linux driver).
However, that command fails with my controller, so it's not particularily
usable :(

It occured to me that one possible 'fix' to this problem would
be to raise spl in pckbd_cngetc(), e.g. change it to something like

	s = splhigh();
	for (;;) {
		val = pckbc_poll_data(t->t_kbctag, t->t_kbcslot);
		if ((val != -1) && pckbd_decode(t, val, type, data)) {

It would be similar for pccons.

Probably no human being would be able to type anything between
cngetc() is called and cngetc() is ...

Jaromir Dolecek <>
NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!