From f6af4ff6cb0e483217017691df2f1c0c739acf40 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 8 Nov 2002 20:04:38 +0000 Subject: [PATCH] Make 3dfx i386-only. The memrange API it uses may be defined in an MI header, but it is only implemented on i386. --- sys/conf/NOTES | 12 ------------ sys/i386/conf/NOTES | 12 ++++++++++++ sys/modules/Makefile | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index c5f43809c051..716144e92cf3 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -1126,18 +1126,6 @@ options SC_NO_SUSPEND_VTYSWITCH # Optional devices: # -# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create -# the /dev/3dfx0 device to work with glide implementations. This should get -# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as -# the tdfx DRI module from XFree86 and is completely unrelated. -# -# To enable Linuxulator support, one must also include COMPAT_LINUX in the -# config as well, or you will not have the dependencies. The other option -# is to load both as modules. - -device tdfx # Enable 3Dfx Voodoo support -options TDFX_LINUX # Enable Linuxulator support - # # SCSI host adapters: # diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 5283218a387b..07a5e25e7934 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -392,6 +392,18 @@ hint.npx.0.irq="13" # Optional devices: # +# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create +# the /dev/3dfx0 device to work with glide implementations. This should get +# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as +# the tdfx DRI module from XFree86 and is completely unrelated. +# +# To enable Linuxulator support, one must also include COMPAT_LINUX in the +# config as well, or you will not have the dependencies. The other option +# is to load both as modules. + +device tdfx # Enable 3Dfx Voodoo support +options TDFX_LINUX # Enable Linuxulator support + # # ACPI support using the Intel ACPI Component Architecture reference # implementation. diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 15471945fd76..59a827657c90 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -12,8 +12,7 @@ _random= random # ncp \ # nwfs \ -SUBDIR= 3dfx \ - accf_data \ +SUBDIR= accf_data \ accf_http \ agp \ aha \ @@ -152,7 +151,8 @@ SUBDIR+=syscons # XXX some of these can move to the general case when de-i386'ed # XXX some of these can move now, but are untested on other architectures. .if ${MACHINE_ARCH} == "i386" -SUBDIR+=aic \ +SUBDIR+=3dfx \ + aic \ aout \ apm \ ar \