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/16/1996 08:10:56
>>>>> On Thu, 15 Aug 1996 17:18:48 -0400,
	Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu> said:

>> How about this (on i386) ?
>> 
>> mainbus0 irq 0
>> mainbus0 irq 1
>> :

> That could make sense.  However, i'd go with 'isa' because the PICs
> are an ISA thing, because PCI interrupts really are routed through
> them, and because you always have an ISA bus.

Please explain it a bit more.

For example, Is the output format which you think below (on i386) ?
	% vmstat -i
	interrupt		total		rate
	isa0 irq 0		10000		100
		:
	isa0 irq 11		100		3
		de0		100		3
		stray		0		0
in the condition given below
	pci0 at mainbus0
	ppb0 at pci0 ...
	pci1 at ppb0 ...
	de0 at pci1 ...
	de0: interrupting at irq 11

If so, I like mainbus0 rather than isa0, because printing isa0 may
confuse users, and because ICU is not located on ISA bus, but on
CPU motherboard.
--
soda@sra.co.jp		Software Research Associates, Inc., Japan
(Noriyuki Soda)		   software tools and technology group