Subject: Re: i386 interrupt counters
To: Chris G Demetriou <>
From: Noriyuki Soda <>
List: tech-kern
Date: 08/14/1996 05:22:51
>>>>> On Tue, 13 Aug 1996 16:07:23 -0400,
	Chris G Demetriou <> said:

>> If so, why do "struct intrhand" (on both i386 and alpha/pci/sio) and
>> "struct kn20aa_intrhand" have a member variable "ih_count" ?

> Because for the Alpha i copied a fair bit of code whole-sale from the
> i386 port, without checking and excising brokenness...

I see.

Your point is
	- "ih_count" member of "struct intrhand" should be removed.
	- ALL device drivers which use interrupt should have "struct
	  evcnt" on it's softc, and increment it on interrupt handler.
OK ?

Do i386 portmaster and other developers have same opinion ?
--		Software Research Associates, Inc., Japan
(Noriyuki Soda)		   software tools and technology group