diff options
author | peter <peter@FreeBSD.org> | 1999-07-03 20:17:08 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-07-03 20:17:08 +0000 |
commit | e5f4c63f137412a3f0691e64764e14569e7980db (patch) | |
tree | 2214af4f0dd363ebb3955ef6675f2e07918ae16b /sys/dev/advansys | |
parent | 7afdd102ca81aa50337adf724b0a330ca4120544 (diff) | |
download | FreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.zip FreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.tar.gz |
Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire
files. config will leave the whole file out if configured to do so.
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r-- | sys/dev/advansys/adv_pci.c | 6 | ||||
-rw-r--r-- | sys/dev/advansys/adw_pci.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c index 73b8622..4a669d0 100644 --- a/sys/dev/advansys/adv_pci.c +++ b/sys/dev/advansys/adv_pci.c @@ -47,11 +47,9 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adv_pci.c,v 1.5 1999/04/24 20:13:58 peter Exp $ + * $Id: adv_pci.c,v 1.6 1999/05/09 17:06:35 peter Exp $ */ -#include <pci.h> -#if NPCI > 0 #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -274,5 +272,3 @@ advpciattach(pcici_t config_id, int unit) adv_attach(adv); } - -#endif /* NPCI > 0 */ diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c index 85e7c92..8b0b86a 100644 --- a/sys/dev/advansys/adw_pci.c +++ b/sys/dev/advansys/adw_pci.c @@ -28,11 +28,9 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adw_pci.c,v 1.4 1999/04/24 20:13:58 peter Exp $ + * $Id: adw_pci.c,v 1.5 1999/05/09 17:06:36 peter Exp $ */ -#include <pci.h> -#if NPCI > 0 #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -183,5 +181,3 @@ adwpciattach(pcici_t config_id, int unit) adw_attach(adw); } - -#endif /* NPCI > 0 */ |