Finish making LINT compile. Disable references to pnp in files that
don't appear to use it, and disable i4b_isic_pnp.c (with a #warning) until it's converted.
This commit is contained in:
parent
5ecb1436e9
commit
a4a0799752
@ -97,7 +97,7 @@ void isic_attach_Cs0P(struct isic_softc *sc);
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <i386/isa/pnp.h>
|
||||
/* #include <i386/isa/pnp.h> */
|
||||
extern void isicintr ( int unit );
|
||||
#endif
|
||||
|
||||
|
@ -107,7 +107,7 @@
|
||||
#endif
|
||||
#include <machine/clock.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/pnp.h>
|
||||
/* #include <i386/isa/pnp.h> */
|
||||
#elif defined(__bsdi__)
|
||||
#include <i386/isa/pnp.h>
|
||||
#else
|
||||
|
@ -67,7 +67,7 @@
|
||||
#endif
|
||||
#include <machine/clock.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/pnp.h>
|
||||
/* #include <i386/isa/pnp.h> */
|
||||
#else
|
||||
#include <machine/bus.h>
|
||||
#include <sys/device.h>
|
||||
|
@ -49,6 +49,11 @@
|
||||
#include "isic.h"
|
||||
#include "opt_i4b.h"
|
||||
|
||||
#if NPNP > 0
|
||||
#warning "Fix i4b pnp!"
|
||||
#undef NPNP
|
||||
#endif
|
||||
|
||||
#if (NISIC > 0) && (NPNP > 0)
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -70,7 +75,7 @@ extern void isicintr(int unit);
|
||||
|
||||
#include <machine/clock.h>
|
||||
#include <i386/isa/isa_device.h>
|
||||
#include <i386/isa/pnp.h>
|
||||
/* #include <i386/isa/pnp.h> */
|
||||
|
||||
#include <i4b/include/i4b_global.h>
|
||||
#include <machine/i4b_ioctl.h>
|
||||
|
Loading…
Reference in New Issue
Block a user