From 8760ab7a11702ac115a8d6fa5b93c224c28531cd Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 29 Jan 2000 14:50:32 +0000 Subject: Remove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's not needed. --- sys/dev/vx/if_vx.c | 3 --- sys/dev/vx/if_vx_eisa.c | 9 --------- sys/dev/vx/if_vx_pci.c | 3 --- 3 files changed, 15 deletions(-) (limited to 'sys/dev/vx') diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c index cbee001..70fc711 100644 --- a/sys/dev/vx/if_vx.c +++ b/sys/dev/vx/if_vx.c @@ -55,7 +55,6 @@ */ #include "vx.h" -#if NVX > 0 #if NVX < 4 /* These cost 4 bytes apiece, so give us 4 */ #undef NVX @@ -1077,5 +1076,3 @@ vxmbufempty(sc) untimeout(vxmbuffill, sc, sc->ch); splx(s); } - -#endif /* NVX > 0 */ diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c index c700eb3..134c360 100644 --- a/sys/dev/vx/if_vx_eisa.c +++ b/sys/dev/vx/if_vx_eisa.c @@ -29,12 +29,6 @@ * $FreeBSD$ */ -#include "eisa.h" -#if NEISA > 0 - -#include "vx.h" -#if NVX > 0 - #include #include #include @@ -197,6 +191,3 @@ static driver_t vx_eisa_driver = { static devclass_t vx_devclass; DRIVER_MODULE(vx, eisa, vx_eisa_driver, vx_devclass, 0, 0); - -#endif /* NVX > 0 */ -#endif /* NEISA > 0 */ diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c index e4910ad..c9f918d 100644 --- a/sys/dev/vx/if_vx_pci.c +++ b/sys/dev/vx/if_vx_pci.c @@ -30,7 +30,6 @@ */ #include "vx.h" -#if NVX > 0 #include #include @@ -138,5 +137,3 @@ static struct pci_device vxdevice = { }; COMPAT_PCI_DRIVER (vx, vxdevice); - -#endif /* NVX */ -- cgit v1.1