mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Don't build EISA by default anymore. Remove from i386 GENERIC and
create an option that defaults to "no" on all platforms to not build the EISA bits. Discussed on: arch@
This commit is contained in:
parent
ba2188af87
commit
77667fecbe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264654
@ -354,6 +354,7 @@ __DEFAULT_NO_OPTIONS = \
|
||||
CLANG_EXTRAS \
|
||||
CTF \
|
||||
DEBUG_FILES \
|
||||
EISA \
|
||||
HESIOD \
|
||||
INSTALL_AS_USER \
|
||||
LLDB \
|
||||
|
@ -94,7 +94,6 @@ device cpufreq
|
||||
|
||||
# Bus support.
|
||||
device acpi
|
||||
device eisa
|
||||
device pci
|
||||
|
||||
# Floppy drives
|
||||
@ -108,7 +107,6 @@ device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
|
||||
device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
|
||||
|
||||
# SCSI Controllers
|
||||
device ahb # EISA AHA1742 family
|
||||
device ahc # AHA2940 and onboard AIC7xxx devices
|
||||
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
|
||||
# output. Adds ~128k to driver.
|
||||
|
@ -561,7 +561,9 @@ _acpi= acpi
|
||||
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
|
||||
_aesni= aesni
|
||||
.endif
|
||||
.if ${MK_EISA} != "no"
|
||||
_ahb= ahb
|
||||
.endif
|
||||
_amdsbwd= amdsbwd
|
||||
_amdtemp= amdtemp
|
||||
_arcmsr= arcmsr
|
||||
|
@ -1,9 +1,14 @@
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/aic7xxx
|
||||
KMOD= ahc
|
||||
SUBDIR= ahc_eisa ahc_isa ahc_pci
|
||||
.if ${MK_EISA} != "no"
|
||||
SUBDIR+= ahc_eisa
|
||||
.endif
|
||||
SUBDIR+= ahc_isa ahc_pci
|
||||
|
||||
GENSRCS= aic7xxx_seq.h aic7xxx_reg.h
|
||||
AHC_REG_PRETTY_PRINT=1
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/dpt
|
||||
KMOD= dpt
|
||||
@ -9,7 +10,7 @@ SRCS= dpt_scsi.c dpt.h \
|
||||
opt_cam.h opt_scsi.h \
|
||||
device_if.h bus_if.h
|
||||
|
||||
.if ${MACHINE} != "i386"
|
||||
.if ${MK_EISA} == "no"
|
||||
# Create an empty opt_eisa.h in order to keep kmod.mk from linking in an
|
||||
# existing one from KERNBUILDDIR which possibly has DEV_EISA defined so
|
||||
# dpt.ko is always built without EISA support.
|
||||
|
@ -1,12 +1,16 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/ep
|
||||
|
||||
KMOD= if_ep
|
||||
SRCS= if_ep.c
|
||||
SRCS+= if_ep_pccard.c pccarddevs.h card_if.h
|
||||
SRCS+= if_ep_isa.c isa_if.h
|
||||
.if ${MK_EISA} != "no"
|
||||
SRCS+= if_ep_eisa.c eisa_if.h
|
||||
.endif
|
||||
#SRCS+= if_ep_mca.c
|
||||
SRCS+= bus_if.h device_if.h
|
||||
|
||||
|
@ -1,10 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/vx
|
||||
|
||||
KMOD= if_vx
|
||||
SRCS= if_vx.c if_vx_pci.c
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
.if ${MK_EISA} != "no"
|
||||
SRCS+= if_vx_eisa.c
|
||||
.endif
|
||||
SRCS+= device_if.h bus_if.h pci_if.h eisa_if.h
|
||||
|
2
tools/build/options/WITH_EISA
Normal file
2
tools/build/options/WITH_EISA
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build EISA kernel modules.
|
Loading…
Reference in New Issue
Block a user