mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Special case for compiling LINT - just give a warning and continue on.
At least we have a chance at getting test compile coverage for the rest of the kernel now.
This commit is contained in:
parent
f266172d25
commit
8c2956e18d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71135
@ -29,6 +29,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef COMPILING_LINT
|
||||
#warning "The ar pci driver is broken and is not compiled with LINT"
|
||||
#else
|
||||
|
||||
#include "ar.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -119,3 +123,4 @@ ar_pci_attach(pcici_t config_id, int unit)
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -27,6 +27,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef COMPILING_LINT
|
||||
#warning "The cy pci driver is broken and is not compiled with LINT"
|
||||
#else
|
||||
|
||||
/*
|
||||
* Cyclades Y PCI serial interface driver
|
||||
*/
|
||||
@ -157,3 +161,4 @@ cy_attach(config_id, unit)
|
||||
/* XXX should release any allocated virtual memory */
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
@ -30,6 +30,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef COMPILING_LINT
|
||||
#warning "The sr pci driver is broken and is not compiled with LINT"
|
||||
#else
|
||||
|
||||
#include "sr.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -131,3 +135,4 @@ sr_pci_attach(pcici_t config_id, int unit)
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -27,6 +27,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef COMPILING_LINT
|
||||
#warning "The cy pci driver is broken and is not compiled with LINT"
|
||||
#else
|
||||
|
||||
/*
|
||||
* Cyclades Y PCI serial interface driver
|
||||
*/
|
||||
@ -157,3 +161,4 @@ cy_attach(config_id, unit)
|
||||
/* XXX should release any allocated virtual memory */
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
@ -29,6 +29,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef COMPILING_LINT
|
||||
#warning "The ar pci driver is broken and is not compiled with LINT"
|
||||
#else
|
||||
|
||||
#include "ar.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -119,3 +123,4 @@ ar_pci_attach(pcici_t config_id, int unit)
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -30,6 +30,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef COMPILING_LINT
|
||||
#warning "The sr pci driver is broken and is not compiled with LINT"
|
||||
#else
|
||||
|
||||
#include "sr.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -131,3 +135,4 @@ sr_pci_attach(pcici_t config_id, int unit)
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -145,6 +145,10 @@
|
||||
future version of this driver.
|
||||
*/
|
||||
|
||||
#ifdef COMPILING_LINT
|
||||
#warning "The meteor driver is broken and is not compiled with LINT"
|
||||
#else
|
||||
|
||||
#include "meteor.h"
|
||||
|
||||
#include "opt_meteor.h"
|
||||
@ -2120,3 +2124,4 @@ meteor_mmap(dev_t dev, vm_offset_t offset, int nprot)
|
||||
|
||||
return i386_btop(vtophys(mtr->bigbuf) + offset);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user