summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for running in SimOS. The support has rotted overmarcel2003-02-251-3/+0
| | | | | | | | time and there's no indication that it will improve anytime soon. By removing support for SimOS it is possible to build LINT on Alpha, which is considered more important at the moment. Not objected to on: alpha@
* Add a new config option IPSEC_FILTERGIF to control whether or notsam2003-02-231-0/+1
| | | | | | | | | | | | | | | | | packets coming out of a GIF tunnel are re-processed by ipfw, et. al. By default they are not reprocessed. With the option they are. This reverts 1.214. Prior to that change packets were not re-processed. After they were which caused problems because packets do not have distinguishing characteristics (like a special network if) that allows them to be filtered specially. This is really a stopgap measure designed for immediate MFC so that 4.8 has consistent handling to what was in 4.7. PR: 48159 Reviewed by: Guido van Rooij <guido@gvr.org> MFC after: 1 day
* Finally make vinum ready for the root filesystem in FreeBSD 5.x. (Ajoerg2003-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | similar patch has been in 4.x for a while, but is more hacky there.) For this to work, vinum has to be loaded early (e. g. from boot/loader), for obvious reasons. If the kernel env variable (aka. loader variable) "vinum.autostart" is set, vinum then asks the sysctl kern.disks for all available disks in the system, and scans them for possible vinum headers. For statically compiled kernels, this behaviour can be obtained even without boot/loader by using "options VINUM_AUTOSTART" (though this is not the recommended way). Alternatively, the 4.x way to specify "vinum.drives" is also supported. No further hacks (like the 4.x "vinum.root" variable) are needed, since in 5.x, mountroot() asks back at the drivers to have them resolve the name of the root FS into a dev_t (using the dev_clone eventhandler). (The MFC reminder below is for a partial MFC for vinum.autostart, the rest is already there in 4.x.) Timed out on: grog MFC after: 2 weeks
* Add config glue to add an optional GEOM_VOL to add optional volume support.gordon2003-02-031-0/+1
| | | | Reviewed by: jake (mentor)
* Add a rudimentary class for slicing Apple partitioned disks.phk2003-01-311-0/+1
| | | | | | More work is needed on this, stakeholders please contact me. Not quite asked for by: rwatson
* Bang! Bang! Bang! etc etcphk2003-01-281-2/+0
| | | | | | Remove NODEVFS and NO_GEOM from options. Approved by: trb@
* - Introduce the SCHED_ULE and SCHED_4BSD options for compile time selectionjeff2003-01-261-0/+2
| | | | | of the scheduler. - Add SCHED_4BSD as the scheduler for all kernel config files in cvs.
* Move NODEVFS and NO_GEOM to opt_global.h.phk2003-01-191-2/+2
| | | | | | | | This allows me to mark code which they control with #ifdef without polluting files with #includes of opt_devfs.h and opt_geom.h. Once these two options are removed, this will allow mechanical removal of the bits their removal makes obsolete.
* Fixed comment.nyan2003-01-181-2/+2
|
* Add a very simple but functional GEOM mirror class.phk2003-01-141-0/+1
| | | | | This is committed more as an instructive tool than as a production facility, but this will change over time.
* Hook up kernel options and build information for mac_lomac.rwatson2002-11-261-0/+1
| | | | | | Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Move SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, sincejmallett2002-11-181-0/+2
| | | | | | | MI code uses them, and every platform provides them (except x86_64 whose options file was lacking one). Reviewed by: bde, rwatson
* Convert kernel compile option PCI_ALLOW_UNSUPPORTED_IO_RANGE tomdodd2002-11-131-3/+0
| | | | | | | a loader tunable hw.pci.allow_unsupported_io_range. Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com> Approved by: re (murray)
* Split 4.x and 5.x signal handling so that we can keep 4.x signalpeter2002-10-251-0/+1
| | | | | | | | | | | | | | | | handling clean and functional as 5.x evolves. This allows some of the nasty bandaids in the 5.x codepaths to be unwound. Encapsulate 4.x signal handling under COMPAT_FREEBSD4 (there is an anti-foot-shooting measure in place, 5.x folks need this for a while) and finish encapsulating the older stuff under COMPAT_43. Since the ancient stuff is required on alpha (longjmp(3) passes a 'struct osigcontext *' to the current sigreturn(2), instead of the 'ucontext_t *' that sigreturn is supposed to take), add a compile time check to prevent foot shooting there too. Add uniform COMPAT_43 stubs for ia64/sparc64/powerpc. Tested on: i386, alpha, ia64. Compiled on sparc64 (a few days ago). Approved by: re
* Provide kernel options for the various MAC policy modules so thatrwatson2002-10-241-0/+7
| | | | | | | | | | they may be statically linked into the kernel. Note that statically linked modules, unlike dynamically linked modules, get INVARIANTS, so if there are INVARIANTS failures, you'll bump into them rather than not. Add the options to NOTES. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* After much delay and anticipation, welcome RAIDFrame into the FreeBSDscottl2002-10-201-0/+4
| | | | | | world. This should be considered highly experimental. Approved-by: re
* Add Geom Based Disk Encryption to the tree.phk2002-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an encryption module designed for to secure denial of access to the contents of "cold disks" with or without destruction activation. Major features: * Based on AES, MD5 and ARC4 algorithms. * Four cryptographic barriers: 1) Pass-phrase encrypts the master key. 2) Pass-phrase + Lock data locates master key. 3) 128 bit key derived from 2048 bit master key protects sector key. 3) 128 bit random single-use sector keys protect data payload. * Up to four different changeable pass-phrases. * Blackening feature for provable destruction of master key material. * Isotropic disk contents offers no information about sector contents. * Configurable destination sector range allows steganographic deployment. This commit adds the kernel part, separate commits will follow for the userland utility and documentation. This software was developed for the FreeBSD Project by Poul-Henning Kamp and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS research program. Many thanks to Robert Watson, CBOSS Principal Investigator for making this possible. Sponsored by: DARPA & NAI Labs.
* Tie new "Fast IPsec" code into the build. This involves the usualsam2002-10-161-0/+1
| | | | | | | | | | | | configuration stuff as well as conditional code in the IPv4 and IPv6 areas. Everything is conditional on FAST_IPSEC which is mutually exclusive with IPSEC (KAME IPsec implmentation). As noted previously, don't use FAST_IPSEC with INET6 at the moment. Reviewed by: KAME, rwatson Approved by: silence Supported by: Vernier Networks
* Remove the P1003_1B kernel option; it is no longer used.mike2002-10-131-1/+0
|
* Remove _KPOSIX_VERSION as a kernel option, nothing uses this any more.mike2002-10-131-1/+0
|
* NB: This commit does *NOT* make GEOM the default in FreeBSDphk2002-10-051-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NB: But it will enable it in all kernels not having options "NO_GEOM" Put the GEOM related options into the intended order. Add "options NO_GEOM" to all kernel configs apart from NOTES. In some order of controlled fashion, the NO_GEOM options will be removed, architecture by architecture in the coming days. There are currently three known issues which may force people to need the NO_GEOM option: boot0cfg/fdisk: Tries to update the MBR while it is being used to control slices. GEOM does not allow this as a direct operation. SCSI floppy drives: Appearantly the scsi-da driver return "EBUSY" if no media is inserted. This is wrong, it should return ENXIO. PC98: It is unclear if GEOM correctly recognizes all variants of PC98 disklabels. (Help Wanted! I have neither docs nor HW) These issues are all being worked. Sponsored by: DARPA & NAI Labs.
* Some kernel threads try to do significant work, and the default KSTACK_PAGESscottl2002-10-021-0/+1
| | | | | | | | | | | | | doesn't give them enough stack to do much before blowing away the pcb. This adds MI and MD code to allow the allocation of an alternate kstack who's size can be speficied when calling kthread_create. Passing the value 0 prevents the alternate kstack from being created. Note that the ia64 MD code is missing for now, and PowerPC was only partially written due to the pmap.c being incomplete there. Though this patch does not modify anything to make use of the alternate kstack, acpi and usb are good candidates. Reviewed by: jake, peter, jhb
* Do away with AAC_COMPAT_LINUX option entirely. The functionality willscottl2002-09-251-2/+0
| | | | | | | automatically be enabled if the kernel is compiled with COMPAT_LINUX. Submitted by: jhb MFC after: 3 days
* The AAC_COMPAT_LINUX option was really annoying, since it made thescottl2002-09-251-1/+1
| | | | | | | | | | | | | | | | aac driver dependent on the linux emulation module. This was especially bad for the release engineers who tried to move the aac driver from the kernel onto the drivers floppy. The linux compat bits for this driver are now in their own driver, aac_linux. It can be loaded as a module or compiled into the kernel. For the latter case, the AAC_COMPAT_LINUX option is needed, along with the COMPAT_LINUX option. I've tested this in every configuration I can think of. This is an MFC candidate for 4.7. Idea from: rwatson MFC after: 3 days
* - Add options ALQ and KTR_ALQ.jeff2002-09-221-0/+2
|
* Ahem, actually add the DDB_TRACE option and finish changing DDB_UNATTENDEDjhb2002-09-191-1/+2
| | | | to use its own header.
* Regen for added syscalls.alfred2002-09-191-0/+1
|
* Move the KSTACK_PAGES option from MD to MI. Although not all platformspeter2002-09-071-0/+1
| | | | | | | | support this, we do have MI code that references it and is otherwise unaware of an override. The alternative is to put knowledge in these MI files about which platforms have the opt_kstack_pages.h option file. It is more likely that other platforms will gain the ability to tune the kstack size.
* Add a new gre(4) driver, which could be used to create GRE (RFC1701)sobomax2002-09-061-0/+1
| | | | | | and MOBILE (RFC2004) IP tunnels. Obrained from: NetBSD
* Remove options that don't actually exist (in this form).scottl2002-09-011-5/+0
|
* Add support for ahd/ahc register pretty printing in diagnostics.gibbs2002-08-311-3/+20
| | | | | | | | | This feature can be disabled via the AHD/AHC_REG_PRETTY_PRINT kernel option. The ahc driver now uses the same debug options mechanism as ahd: AHC_DEBUG - Compile in debugging code AHC_DEBUG_OPTS - String of debug options as listed in aic7xxx.h
* New L2TP netgraph node type.archie2002-08-201-0/+1
| | | | Obtained from: Packet Design
* Wrap maintenance of varios nmac{objectname} counters in MAC_DEBUG so werwatson2002-08-161-0/+1
| | | | | | | | can avoid the cost of a large number of atomic operations if we're not interested in the object count statistics. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Add the ability to use ATAPI devices via CAM.sos2002-08-091-4/+5
| | | | | | | | | | The CAM<>ATAPI layer was submitted by "Thomas Quinot <thomas@cuivre.fr.eu.org>" changes form the version on the net by me (formatting, ability to be used alone without the ATAPI native device driver, proper speed reporting...) See /sys/conf/NOTES for usage. Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
* Add code that will download firmware to a Symbol LA4100-series of CFimp2002-08-031-0/+4
| | | | | | | | | | | | cards. Since the firmware is hard coded into the kernel, I've made it a kernel option (WI_SYMBOL_FIRMWARE). Note: This only downloads into the RAM of these cards. It doesn't download into FLASH, and is somewhat limited. There needs to be a better way to deal, but this works for now. My Symbol LA4132 CF card works now. Obtained from: NetBSD
* Kernel options for Mandatory Access Control (MAC).rwatson2002-07-271-1/+6
| | | | | | | | MAC support will be merged into the main tree over the next week in reasonable size chunks; much more to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Make PCI_ENABLE_IO_MODES a sysctl hw.pci.enable_io_modes. It can alsoimp2002-07-261-1/+0
| | | | | be set at boot time. It defaults to 1 now since it can be set in the boot loader. If this proves unwise, we can reset it to defaulting to 0.
* Remove dependency on NPCI. Use 'options ATA_NOPCI' to compile withoutpeter2002-07-211-0/+1
| | | | | | | | pci support. This really needs to be fixed properly some day, but judging by the fact that the nopci case hasn't compiled for quite a while, there does not seem to be much urgency. Reviewed by: sos
* Move SMBFS from i386 and pc98 files and options files to MI files andjhb2002-07-151-0/+5
| | | | options files.
* The puc(4) driver/bridge is MI, so don't bury it in MD options and filesjhb2002-07-151-0/+1
| | | | config files. It also depends on PCI.
* Sort all the SYSV IPC options. They are still all clumped together, butjhb2002-07-151-14/+14
| | | | at least they are sorted relative to themselves now.
* - Properly sort GEOM and NODEVFS.jhb2002-07-151-3/+2
| | | | | - GEOM doesn't need to specify a filename, the correct one is chosen by default.
* Make WLCACHE and WLDEBUG MI options.jhb2002-07-151-0/+2
|
* Make NDGBPORTS an MI option since the dgb(4) driver is an MI driver.jhb2002-07-151-0/+1
| | | | | Remove comments about NDGBPORTS from the options* files. Please document options in NOTES, not in the options* files.
* Introduce syscall.master option 'COMPAT4' which allows one to wrapalfred2002-07-121-0/+1
| | | | | syscalls for FreeBSD 4 compatibility. Add kernel option COMPAT_FREEBSD4 to enable these syscalls.
* Move the MSIZE and MCLSHIFT options out of the undocumented section inken2002-07-111-2/+2
| | | | | | | | | | NOTES. Add some comments about the potential problems associated with NIC driver modules and changing these options. Fix sorting problems in sys/conf/options with the MSIZE and MCLSHIFT options. Reviewed by: bde
* Back out previous TCBHASHSIZE change. This should not be a kernel option.mp2002-07-081-1/+0
| | | | Pointed out by: bde
* Document TCBHASHSIZE in NOTES and add it to the allowable kernel options.mp2002-07-081-0/+1
| | | | | | PR: 32912 Submitted by: Carl Schmidt <carl@slackerbsd.org> MFC after: 3 days
* At long last, commit the zero copy sockets code.ken2002-06-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAKEDEV: Add MAKEDEV glue for the ti(4) device nodes. ti.4: Update the ti(4) man page to include information on the TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options, and also include information about the new character device interface and the associated ioctls. man9/Makefile: Add jumbo.9 and zero_copy.9 man pages and associated links. jumbo.9: New man page describing the jumbo buffer allocator interface and operation. zero_copy.9: New man page describing the general characteristics of the zero copy send and receive code, and what an application author should do to take advantage of the zero copy functionality. NOTES: Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS, TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT. conf/files: Add uipc_jumbo.c and uipc_cow.c. conf/options: Add the 5 options mentioned above. kern_subr.c: Receive side zero copy implementation. This takes "disposable" pages attached to an mbuf, gives them to a user process, and then recycles the user's page. This is only active when ZERO_COPY_SOCKETS is turned on and the kern.ipc.zero_copy.receive sysctl variable is set to 1. uipc_cow.c: Send side zero copy functions. Takes a page written by the user and maps it copy on write and assigns it kernel virtual address space. Removes copy on write mapping once the buffer has been freed by the network stack. uipc_jumbo.c: Jumbo disposable page allocator code. This allocates (optionally) disposable pages for network drivers that want to give the user the option of doing zero copy receive. uipc_socket.c: Add kern.ipc.zero_copy.{send,receive} sysctls that are enabled if ZERO_COPY_SOCKETS is turned on. Add zero copy send support to sosend() -- pages get mapped into the kernel instead of getting copied if they meet size and alignment restrictions. uipc_syscalls.c:Un-staticize some of the sf* functions so that they can be used elsewhere. (uipc_cow.c) if_media.c: In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid calling malloc() with M_WAITOK. Return an error if the M_NOWAIT malloc fails. The ti(4) driver and the wi(4) driver, at least, call this with a mutex held. This causes witness warnings for 'ifconfig -a' with a wi(4) or ti(4) board in the system. (I've only verified for ti(4)). ip_output.c: Fragment large datagrams so that each segment contains a multiple of PAGE_SIZE amount of data plus headers. This allows the receiver to potentially do page flipping on receives. if_ti.c: Add zero copy receive support to the ti(4) driver. If TI_PRIVATE_JUMBOS is not defined, it now uses the jumbo(9) buffer allocator for jumbo receive buffers. Add a new character device interface for the ti(4) driver for the new debugging interface. This allows (a patched version of) gdb to talk to the Tigon board and debug the firmware. There are also a few additional debugging ioctls available through this interface. Add header splitting support to the ti(4) driver. Tweak some of the default interrupt coalescing parameters to more useful defaults. Add hooks for supporting transmit flow control, but leave it turned off with a comment describing why it is turned off. if_tireg.h: Change the firmware rev to 12.4.11, since we're really at 12.4.11 plus fixes from 12.4.13. Add defines needed for debugging. Remove the ti_stats structure, it is now defined in sys/tiio.h. ti_fw.h: 12.4.11 firmware. ti_fw2.h: 12.4.11 firmware, plus selected fixes from 12.4.13, and my header splitting patches. Revision 12.4.13 doesn't handle 10/100 negotiation properly. (This firmware is the same as what was in the tree previously, with the addition of header splitting support.) sys/jumbo.h: Jumbo buffer allocator interface. sys/mbuf.h: Add a new external mbuf type, EXT_DISPOSABLE, to indicate that the payload buffer can be thrown away / flipped to a userland process. socketvar.h: Add prototype for socow_setup. tiio.h: ioctl interface to the character portion of the ti(4) driver, plus associated structure/type definitions. uio.h: Change prototype for uiomoveco() so that we'll know whether the source page is disposable. ufs_readwrite.c:Update for new prototype of uiomoveco(). vm_fault.c: In vm_fault(), check to see whether we need to do a page based copy on write fault. vm_object.c: Add a new function, vm_object_allocate_wait(). This does the same thing that vm_object allocate does, except that it gives the caller the opportunity to specify whether it should wait on the uma_zalloc() of the object structre. This allows vm objects to be allocated while holding a mutex. (Without generating WITNESS warnings.) vm_object_allocate() is implemented as a call to vm_object_allocate_wait() with the malloc flag set to M_WAITOK. vm_object.h: Add prototype for vm_object_allocate_wait(). vm_page.c: Add page-based copy on write setup, clear and fault routines. vm_page.h: Add page based COW function prototypes and variable in the vm_page structure. Many thanks to Drew Gallatin, who wrote the zero copy send and receive code, and to all the other folks who have tested and reviewed this code over the years.
* Make the speed used by gdb over serial settable in the kernel configuration.n_hibma2002-06-181-0/+2
| | | | | | This facilitates the use in circumstances where you are using a serial console as well. GDB doesn't support anything higher than 9600 baud (19k2 if you are lucky), but the console does.
OpenPOWER on IntegriCloud