summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-11-07 01:03:23 +0000
committerwpaul <wpaul@FreeBSD.org>2000-11-07 01:03:23 +0000
commit56ad93afb4cc8080f6d5c43ff87b146c8a060949 (patch)
treec53bb16c0d63a45068785e3c4d4606fea25169b7
parentfc831555eb35cd265361d393540b7e4f3ef1defe (diff)
downloadFreeBSD-src-56ad93afb4cc8080f6d5c43ff87b146c8a060949.zip
FreeBSD-src-56ad93afb4cc8080f6d5c43ff87b146c8a060949.tar.gz
The vortex driver can be compiled as a KLD now. The EISA attachment
is only built on the i386 platform for now, since it depends on symbols which I'm pretty sure won't be present in the alpha build.
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/vx/Makefile11
2 files changed, 12 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 06cfc52..52c41d2 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -14,7 +14,7 @@ SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \
rl rp sf sis sk sn sound ste syscons ti tl twe tx \
udbp ugen uhid ukbd ulpt umapfs umass umodem ums union urio usb \
uscanner \
- vinum vn vpo vr wb wx xl
+ vinum vn vpo vr vx wb wx xl
# XXX some of these can move to the general case when de-i386'ed
.if ${MACHINE_ARCH} == "i386"
diff --git a/sys/modules/vx/Makefile b/sys/modules/vx/Makefile
new file mode 100644
index 0000000..c033c6c
--- /dev/null
+++ b/sys/modules/vx/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/vx
+KMOD = if_vx
+SRCS = if_vx.c if_vx_pci.c
+.if ${MACHINE_ARCH} == "i386"
+SRCS += if_vx_eisa.c
+.endif
+SRCS += opt_bdg.h device_if.h bus_if.h pci_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud