Remove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's not
needed.
This commit is contained in:
parent
bc51803479
commit
b7598e9bd7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56833
@ -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 */
|
||||
|
@ -29,12 +29,6 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "eisa.h"
|
||||
#if NEISA > 0
|
||||
|
||||
#include "vx.h"
|
||||
#if NVX > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -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 */
|
||||
|
@ -30,7 +30,6 @@
|
||||
*/
|
||||
|
||||
#include "vx.h"
|
||||
#if NVX > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -138,5 +137,3 @@ static struct pci_device vxdevice = {
|
||||
};
|
||||
|
||||
COMPAT_PCI_DRIVER (vx, vxdevice);
|
||||
|
||||
#endif /* NVX */
|
||||
|
Loading…
Reference in New Issue
Block a user