Subject: Re: i386 interrupt counters
To: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
From: Noriyuki Soda <soda@sra.co.jp>
List: tech-kern
Date: 08/14/1996 05:22:51
>>>>> On Tue, 13 Aug 1996 16:07:23 -0400,
	Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu> 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...

Oops!
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 ?
--
soda@sra.co.jp		Software Research Associates, Inc., Japan
(Noriyuki Soda)		   software tools and technology group