Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/dev/pci



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@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



Home | Main Index | Thread Index | Old Index