2# 3# On the handling of kernel options 4# 5# All kernel options should be listed in LINT, with suitable 6# descriptions. Negative options (options that make some code not 7# compile) should be commented out; LINT should compile as much code 8# as possible. Try to structure option-using code so that a single 9# option only switch code on, or only switch code off, to make it 10# possible to have a full compile-test. If necessary, you can include 11# "opt_lint.h" and check for COMPILING_LINT to get maximum code 12# coverage. 13# 14# All new options shall also be listed in either "conf/options" or 15# "<machine>/conf/options.<machine>". Options that affect a single 16# source-file <xxx>.[c|s] should be directed into "opt_<xxx>.h", while 17# options that affect multiple files should either go in 18# "opt_global.h" if this is a kernel-wide option (used just about 19# everywhere), or in "opt_<option-name-in-lower-case>.h" if it affect 20# only some files. Note that the effect of listing only an option 21# without a header-file-name in conf/options (and cousins) is that the 22# last convention is followed. 23# 24# This handling scheme is not yet fully implemented. 25# 26# 27# Format of this file: 28# Option name filename 29# 30# If filename is missing, the default is 31# opt_<name-of-option-in-lower-case>.h 32 33# Adaptec aic7xxx SCSI controller options 34AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory 35 # mapped I/O 36 37AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable 38 # targetmode operations. 39 40AHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our 41 # configuration prom. 42 43ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory 44 # mapped I/O 45 46# Miscellaneous options. 47COMPAT_43 opt_compat.h 48COMPAT_SUNOS opt_compat.h 49COMPILING_LINT opt_lint.h 50CY_PCI_FASTINTR 51DDB 52DDB_UNATTENDED opt_ddb.h 53GDB_REMOTE_CHAT opt_ddb.h 54DEVFS 55HW_WDOG 56KTRACE 57MD5 58MFS_ROOT opt_mfs.h 59MFS_ROOT_SIZE opt_mfs.h 60NTIMECOUNTER opt_ntp.h 61NSWAPDEV opt_swap.h 62PPS_SYNC opt_ntp.h 63QUOTA 64SPX_HACK 65SUIDDIR opt_suiddir.h 66SYSVMSG opt_sysvipc.h 67SYSVSEM opt_sysvipc.h 68SYSVSHM opt_sysvipc.h 69UCONSOLE 70ICMP_BANDLIM 71 72# POSIX kernel options 73P1003_1B opt_posix.h 74_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 75_KPOSIX_VERSION opt_posix.h 76 77# Do we want the config file compiled into the kernel? 78INCLUDE_CONFIG_FILE opt_config.h 79 80# Options for static file systems. These should only be used at config 81# time, since the corresponding lkms cannot work if there are any static 82# dependencies. Unusability is enforced by hiding the defines for the 83# options in a never-included header. 84EXT2FS opt_dontuse.h 85FDESC opt_dontuse.h 86KERNFS opt_dontuse.h 87MFS opt_dontuse.h 88MSDOSFS opt_dontuse.h 89NULLFS opt_dontuse.h 90PORTAL opt_dontuse.h 91PROCFS opt_dontuse.h 92UMAPFS opt_dontuse.h 93NTFS opt_dontuse.h 94 95# These static filesystems has one slightly bogus static dependency in 96# sys/i386/i386/autoconf.c. If any of these filesystems are 97# statically compiled into the kernel, code for mounting them as root 98# filesystems will be enabled - but look below. Boot-code is purposely 99# unavailable for the LKM-based versions. 100CODA 101CD9660 102FFS 103NFS 104NWFS 105 106# If you are following the conditions in the copyright, 107# you can enable soft-updates which will speed up a lot of thigs 108# and make the system safer from crashes at the same time. 109# otherwise a STUB module will be compiled in. 110SOFTUPDATES opt_ffs.h 111 112# The above static dependencies are planned removed, with a 113# <filesystem>_ROOT option to control if it usable as root. This list 114# allows these options to be present in config files already (though 115# they won't make any difference yet). 116CD9660_ROOT opt_cd9660.h 117FFS_ROOT opt_ffs.h 118NFS_ROOT opt_nfsroot.h 119 120# Multi-session CD-Rs might require a huge amount of time in order to 121# "settle". If we are about mounting them as the root f/s, we gotta 122# wait a little. 123CD9660_ROOTDELAY opt_cd9660.h 124 125# The union static file system has bogus static dependencies, so it isn't 126# hidden yet. 127UNION 128 129# Options used only in param.c. 130HZ opt_param.h 131MAXFILES opt_param.h 132MAXUSERS opt_param.h 133MSGMNB opt_param.h 134MSGMNI opt_param.h 135MSGSEG opt_param.h 136MSGSSZ opt_param.h 137MSGTQL opt_param.h 138NBUF opt_param.h 139NMBCLUSTERS opt_param.h 140NSFBUFS opt_param.h 141SEMMAP opt_param.h 142SEMMNI opt_param.h 143SEMMNS opt_param.h 144SEMMNU opt_param.h 145SEMMSL opt_param.h 146SEMOPM opt_param.h 147SEMUME opt_param.h 148SHMALL opt_param.h 149SHMMAX opt_param.h 150SHMMAXPGS opt_param.h 151SHMMIN opt_param.h 152SHMMNI opt_param.h 153SHMSEG opt_param.h 154 155# Generic SCSI options. 156CAM_MAX_HIGHPOWER opt_cam.h 157CAMDEBUG opt_cam.h 158CAM_DEBUG_DELAY opt_cam.h 159CAM_DEBUG_BUS opt_cam.h 160CAM_DEBUG_TARGET opt_cam.h 161CAM_DEBUG_LUN opt_cam.h 162CAM_DEBUG_FLAGS opt_cam.h 163SCSI_DELAY opt_scsi.h 164SCSI_REPORT_GEOMETRY opt_scsi.h 165SCSI_NO_SENSE_STRINGS opt_scsi.h 166SCSI_NO_OP_STRINGS opt_scsi.h 167 168# Options used only in cam/scsi/scsi_cd.c 169CHANGER_MIN_BUSY_SECONDS opt_cd.h 170CHANGER_MAX_BUSY_SECONDS opt_cd.h 171 172# Options used only in cam/scsi/scsi_sa.c. 173SA_SPACE_TIMEOUT opt_sa.h 174SA_REWIND_TIMEOUT opt_sa.h 175SA_ERASE_TIMEOUT opt_sa.h 176SA_1FM_AT_EOD opt_sa.h 177 178# Options used only in cam/scsi/scsi_pt.c 179SCSI_PT_DEFAULT_TIMEOUT opt_pt.h 180 181# Options used only in pci/ncr.c 182SCSI_NCR_DEBUG opt_ncr.h 183SCSI_NCR_DFLT_TAGS opt_ncr.h 184SCSI_NCR_MAX_SYNC opt_ncr.h 185SCSI_NCR_MAX_WIDE opt_ncr.h 186SCSI_NCR_MYADDR opt_ncr.h 187 188# Options used only in pci/isp_pci.c 189SCSI_ISP_NO_FWLOAD_MASK opt_isp.h 190SCSI_ISP_NO_NVRAM_MASK opt_isp.h 191SCSI_ISP_PREFER_MEM_MAP opt_isp.h 192SCSI_ISP_FABRIC opt_isp.h 193SCSI_ISP_SCCLUN opt_isp.h 194SCSI_ISP_FCDUPLEX opt_isp.h 195ISP_DISABLE_1020_SUPPORT opt_isp.h 196ISP_DISABLE_1080_SUPPORT opt_isp.h 197ISP_DISABLE_2100_SUPPORT opt_isp.h 198ISP_DISABLE_2200_SUPPORT opt_isp.h 199 200# Options used in the 'ata' ATA/ATAPI driver 201ATA_STATIC_ID opt_ata.h 202ATA_16BIT_ONLY opt_ata.h
|