diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-01-17 00:47:46 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-01-17 00:47:46 +0000 |
| commit | 8c2956e18d3d76568995592381c996e6f3cae180 (patch) | |
| tree | ecc2f52195a1e9168835ac9d80fc82abac4aee96 | |
| parent | f266172d25dd997def0e617fe10ecd084eb5dfdc (diff) | |
Notes
| -rw-r--r-- | sys/dev/ar/if_ar_pci.c | 5 | ||||
| -rw-r--r-- | sys/dev/cy/cy_pci.c | 5 | ||||
| -rw-r--r-- | sys/dev/sr/if_sr_pci.c | 5 | ||||
| -rw-r--r-- | sys/pci/cy_pci.c | 5 | ||||
| -rw-r--r-- | sys/pci/if_ar_p.c | 5 | ||||
| -rw-r--r-- | sys/pci/if_sr_p.c | 5 | ||||
| -rw-r--r-- | sys/pci/meteor.c | 5 |
7 files changed, 35 insertions, 0 deletions
diff --git a/sys/dev/ar/if_ar_pci.c b/sys/dev/ar/if_ar_pci.c index 6fa1d522d3d7..45482eb1a6bf 100644 --- a/sys/dev/ar/if_ar_pci.c +++ b/sys/dev/ar/if_ar_pci.c @@ -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 diff --git a/sys/dev/cy/cy_pci.c b/sys/dev/cy/cy_pci.c index f7e2414a1e22..fddea7879382 100644 --- a/sys/dev/cy/cy_pci.c +++ b/sys/dev/cy/cy_pci.c @@ -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 @@ fail: /* XXX should release any allocated virtual memory */ return; } +#endif diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c index 1bf8177ece7d..b8ac2ccffec4 100644 --- a/sys/dev/sr/if_sr_pci.c +++ b/sys/dev/sr/if_sr_pci.c @@ -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 diff --git a/sys/pci/cy_pci.c b/sys/pci/cy_pci.c index f7e2414a1e22..fddea7879382 100644 --- a/sys/pci/cy_pci.c +++ b/sys/pci/cy_pci.c @@ -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 @@ fail: /* XXX should release any allocated virtual memory */ return; } +#endif diff --git a/sys/pci/if_ar_p.c b/sys/pci/if_ar_p.c index 6fa1d522d3d7..45482eb1a6bf 100644 --- a/sys/pci/if_ar_p.c +++ b/sys/pci/if_ar_p.c @@ -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 diff --git a/sys/pci/if_sr_p.c b/sys/pci/if_sr_p.c index 1bf8177ece7d..b8ac2ccffec4 100644 --- a/sys/pci/if_sr_p.c +++ b/sys/pci/if_sr_p.c @@ -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 diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c index b3cbc0b168ce..d9fe31a0b5c7 100644 --- a/sys/pci/meteor.c +++ b/sys/pci/meteor.c @@ -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 |
