Subject: Re: CVS commit: syssrc/sys/dev/pci
To: Lennart Augustsson <augustss@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: source-changes
Date: 08/28/2001 02:30:16
On Tue, Aug 28, 2001 at 01:18:50 +0300, Lennart Augustsson wrote:

> Modified Files:
> 	syssrc/sys/dev/pci: if_hme_pci.c
> 
> Log Message:
> Remove an unneeded #include.  This makes the file compilable on more
> platforms.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/pci/if_hme_pci.c

Cool.  Can you please test if changing #include <machine/cpu.h> to
just machine/intr.h is ok.  I think all it's need is IPL_NET and
1) not all platforms have intr.h included in cpu.h
2) dragging cpu.h only for IPL_NET is an overkill.

Actually I just stumled on this last night, but I can't test it on a
production kernel.

Thanks.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen