summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
Commit message (Collapse)AuthorAgeFilesLines
* Add ng_device(4) to LINT.glebius2004-07-201-0/+1
| | | | | Reviewed by: marks Approved by: julian (mentor)
* Unbreak kernel compiles by preserving an old opt_adaptive_mutexes.h filekan2004-07-181-1/+1
| | | | name.
* Enable ADAPTIVE_MUTEXES by default by changing the sense of the option toscottl2004-07-181-1/+1
| | | | | | | | | NO_ADAPTIVE_MUTEXES. This option has been enabled by default on amd64 for quite some time, and has been extensively tested on i386 and sparc64. It shows measurable performance gains in many circumstances, and few negative effects. It would be nice in t he future if adaptive mutexes actually went to sleep after a certain amount of spinning, but that will require quite a bit more testing.
* Update for the KDB framework:marcel2004-07-111-18/+11
| | | | | | | | | | | | | o Rename WITNESS_DDB to WITNESS_KDB. In the new world order KDB is the acronym to use for debugging related code. The DDB option is used to enable the DDB debugger backend only. o Likewise, rename DDB_TRACE to KDB_TRACE, rename DDB_UNATTENDED to KDB_UNATTENDED and rename SC_HISTORY_DDBKEY to SC_HISTORY_KDBKEY. o Remove DDB_NOKLDSYM. The new DDB backend supports pre-linker symbol lookups as well as KLD symbol lookups at the same time. o Remove GDB_REMOTE_CHAT. The GDB protocol hacks to allow this are FreeBSD specific. At the same time, the GDB protocol has packets for console output.
* Add new options for the KDB framework. This commit merely adds them andmarcel2004-07-101-0/+9
| | | | | | | | in particular not without removing the options they replace or in the proper location in this file. The purpose of this commit is to make it possible to commit changes in parts without causing massive build breakages. At least, that's the intend. I have no idea if it actually works out as I hope...
* Change the following environment variables to kernel options:brian2004-07-081-0/+5
| | | | | | | | | | | | | bootp -> BOOTP bootp.nfsroot -> BOOTP_NFSROOT bootp.nfsv3 -> BOOTP_NFSV3 bootp.compat -> BOOTP_COMPAT bootp.wired_to -> BOOTP_WIRED_TO - i.e. back out the previous commit. It's already possible to pxeboot(8) with a GENERIC kernel. Pointed out by: dwmalone
* Change the following kernel options to environment variables:brian2004-07-081-5/+0
| | | | | | | | | | | | | | | | | | BOOTP -> bootp BOOTP_NFSROOT -> bootp.nfsroot BOOTP_NFSV3 -> bootp.nfsv3 BOOTP_COMPAT -> bootp.compat BOOTP_WIRED_TO -> bootp.wired_to This lets you PXE boot with a GENERIC kernel by putting this sort of thing in loader.conf: bootp="YES" bootp.nfsroot="YES" bootp.nfsv3="YES" bootp.wired_to="bge1" or even setting the variables manually from the OK prompt.
* By popular request, add a workaround that allows large (>128GB or so)tjr2004-07-031-0/+3
| | | | | | | | | | | | | | | FAT32 filesystems to be mounted, subject to some fairly serious limitations. This works by extending the internal pseudo-inode-numbers generated from the file's starting cluster number to 64-bits, then creating a table mapping these into arbitrary 32-bit inode numbers, which can fit in struct dirent's d_fileno and struct vattr's va_fileid fields. The mappings do not persist across unmounts or reboots, so it's not possible to export these filesystems through NFS. The mapping table may grow to be rather large, and may grow large enough to exhaust kernel memory on filesystems with millions of files. Don't enable this option unless you understand the consequences.
* Implement preemption of kernel threads natively in the scheduler ratherjhb2004-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than as one-off hacks in various other parts of the kernel: - Add a function maybe_preempt() that is called from sched_add() to determine if a thread about to be added to a run queue should be preempted to directly. If it is not safe to preempt or if the new thread does not have a high enough priority, then the function returns false and sched_add() adds the thread to the run queue. If the thread should be preempted to but the current thread is in a nested critical section, then the flag TDF_OWEPREEMPT is set and the thread is added to the run queue. Otherwise, mi_switch() is called immediately and the thread is never added to the run queue since it is switch to directly. When exiting an outermost critical section, if TDF_OWEPREEMPT is set, then clear it and call mi_switch() to perform the deferred preemption. - Remove explicit preemption from ithread_schedule() as calling setrunqueue() now does all the correct work. This also removes the do_switch argument from ithread_schedule(). - Do not use the manual preemption code in mtx_unlock if the architecture supports native preemption. - Don't call mi_switch() in a loop during shutdown to give ithreads a chance to run if the architecture supports native preemption since the ithreads will just preempt DELAY(). - Don't call mi_switch() from the page zeroing idle thread for architectures that support native preemption as it is unnecessary. - Native preemption is enabled on the same archs that supported ithread preemption, namely alpha, i386, and amd64. This change should largely be a NOP for the default case as committed except that we will do fewer context switches in a few cases and will avoid the run queues completely when preempting. Approved by: scottl (with his re@ hat)
* Introduce GEOM_LABEL class.pjd2004-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | This class is used for detecting volume labels on file systems: UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660. It also provide native labelization (there is no need for file system). g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow. g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found where volume labels are stored and I use those offsets here, but with this class it should be easy to do it as it should be done by someone who know how. Implementing volume labels detection for other file systems also should be trivial. New providers are created in those directories: /dev/ufs/ (UFS1, UFS2) /dev/msdosfs/ (FAT12, FAT16, FAT32) /dev/iso9660/ (ISO9660) /dev/label/ (native labels, configured with glabel(8)) Manual page cleanups and some comments inside were submitted by Simon L. Nielsen, who was, as always, very helpful. Thanks!
* Add two new kernel options to allow rudimentary profiling of the internaljhb2004-06-291-0/+2
| | | | | | | hash tables used in the sleep queue and turnstile code. Each option adds a sysctl tree under debug containing the maximum depth of any bucket in the hash table as well as a separate node for each bucket (or chain) containing the current depth and maximum depth for that bucket.
* Add options NETGRAPH_FEC to hook up ng_fec.c to the LINT build.rwatson2004-06-271-0/+1
|
* Add options NETGRAPH_EIFACE, which causes ng_eiface.c to be built intorwatson2004-06-271-0/+1
| | | | | the kernel, similar to NETGRAPH_IFACE for ng_iface.c. It appears to have been omitted when added to the kernel.
* Add support for TCP Selective Acknowledgements. The work for thisps2004-06-231-0/+1
| | | | | | | | | | | | | | | originated on RELENG_4 and was ported to -CURRENT. The scoreboarding code was obtained from OpenBSD, and many of the remaining changes were inspired by OpenBSD, but not taken directly from there. You can enable/disable sack using net.inet.tcp.do_sack. You can also limit the number of sack holes that all senders can have in the scoreboard with net.inet.tcp.sackhole_limit. Reviewed by: gnn Obtained from: Yahoo! (Mohan Srinivasan, Jayanth Vijayaraghavan)
* Link ALTQ to the build and break with ABI for struct ifnet. Please recompilemlaier2004-06-131-0/+9
| | | | | | | | | | | | your (network) modules as well as any userland that might make sense of sizeof(struct ifnet). This does not change the queueing yet. These changes will follow in a seperate commit. Same with the driver changes, which need case by case evaluation. __FreeBSD_version bump will follow. Tested-by: (i386)LINT
* Deorbit COMPAT_SUNOS.phk2004-06-111-1/+0
| | | | | We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither a sparc32 port nor a SunOS4.x compatibility desire these days.
* - Connect geom(8) and its libraries to the build.pjd2004-05-201-0/+2
| | | | | | | | - Connect geom_stripe and geom_nop modules to the build. - Connect STRIPE and NOP classes to the LINT build. - Disconnect gconcat(8) from the build. Supported by: Wheel - Open Technologies - http://www.wheel.pl
* Expose USBVERBOSE as a first-class option. It will be needed soon asimp2004-05-131-0/+1
| | | | | | an option. Note that this option doesn't follow the normal USB_ or Uxxx_ convention. That's because it is this way in the upstream provider and I didn't want to change that.
* Remove new options and my prevention of system freeze when the sio probeambrisko2004-05-031-1/+0
| | | | | | | returns okay when HW probe fails. This happens when comconsole flag is set but VGA console is used instead. Back out requested by: bde (He will be looking at other solutions from scratch)
* Allow geom_concat and geom_gate to be compiled in kernel.pjd2004-05-031-0/+2
|
* Add MAC_STATIC, a kernel option that disables internal MAC Frameworkrwatson2004-05-031-0/+1
| | | | | | | | | | synchronization protecting against dynamic load and unload of MAC policies, and instead simply blocks load and unload. In a static configuration, this allows you to avoid the synchronization costs associated with introducing dynamicism. Obtained from: TrustedBSD Project Sponsored by: DARPA, McAfee Research
* Some enhancements and bug fix.ambrisko2004-04-301-0/+1
| | | | | | | | | | | | | | | | | | - Define option FORCECONSPEED to force the serial console to be CONSPEED. I've run into a lot of boards in which the detect for prior speed doesn't work and ends up with broken console since it is at the wrong speed. - If a serial port is marked as a console, but console=vidconsole and if the serial ports doesn't exist it will be probed and attached at a 8250 chip. Then writes to that will freeze the system. - Add an option flags 0x400000 to mark this as a potential comconsole in-case the one flaged with 0x10 does not exist in the system. This makes it easier to deploy on systems with one or two serial ports. Obtained from: IronPort
* Address few style issues pointed out by bdeemax2004-04-271-11/+9
| | | | Reviewed by: bde, ru
* Connect ng_sppp to the build process.rik2004-04-241-0/+1
|
* Make sure Bluetooth stuff can be statically compiled into kernelemax2004-04-231-0/+10
| | | | | Submitted by: ps Reviewed by: imp (mentor), ru
* garbage collect ASR_MEASURE_PERFORMANCEscottl2004-04-211-3/+0
|
* As promised a while ago, remove DA_OLD_QUIRKS and all quirks it was enabling.njl2004-04-191-2/+0
| | | | | These are no longer needed now that we don't send 6-byte commands to RBC devices.
* Add glue for new sx driver.imp2004-04-111-0/+1
|
* Add a new kernel option MUTEX_WAKE_ALL that changes the mutex unlock codejhb2004-04-061-0/+1
| | | | | | | | | | | | | to awaken all waiters when a contested mutex is released instead of just the highest priority waiter. If the various threads are awakened in sequence then each thread may acquire and release the lock in question without contention resulting in fewer expensive unlock and lock operations. This old behavior of waking just the highest priority is still used if this option is specified. Making the algorithm conditional on a kernel option will allows us to benchmark both cases later and determine which one should be used by default. Requested by: tanimura-san
* Moved comments on 3ware 9000 series RAID controller driver options fromvkashyap2004-03-311-3/+2
| | | | options to NOTES.
* Give in to the oblique nagging and move AAC and AHC/AHD comments out ofscottl2004-03-311-40/+12
| | | | /sys/conf/options and into /sys/conf/NOTES
* Added options for 3ware 9000 series RAID controller driver (twa).vkashyap2004-03-301-0/+4
|
* Remove RAIDFrame. It hasn't worked since GEOM replaced the old diskscottl2004-03-161-4/+0
| | | | | | mini-layer. I don't have time to bing it forward into the GEOM world, and no one else has stepped forward to claim it. It'll be in the Attic for safe keeping for now.
* Add a netgraph node to handle ATM LLC encapsulation. This currently handlesbenno2004-03-081-0/+1
| | | | | | | | | | ethernet (tested) and FDDI (not tested). The main use for this is on ADSL (or other ATM) connections where bridged ethernet is used, PPPoE being a prime example. There is no manual page as yet, I will write one shortly. Reviewed by: harti
* Rename the WATCHDOG option to SW_WATCHDOG and make it use thephk2004-02-281-1/+1
| | | | | | | | | | | generic watchdoc(9) interface. Make watchdogd(8) perform as watchdog(8) as well, and make it possible to specify a check command to run, timeout and sleep periods. Update watchdog(4) to talk about the generic interface and add new watchdog(8) page.
* Tweak existing header and other build infrastructure to be able to buildmlaier2004-02-261-0/+3
| | | | | | | pf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile (i.e. do not connect it to any (automatic) builds - yet). Approved by: bms(mentor)
* Fixed some insertion sort errors.bde2004-02-251-13/+13
|
* Add DDB_NUMSYM option which in addition to the symbolic representationphk2004-02-241-0/+1
| | | | | | | | | | | | | | | | | also prints the actual numerical value of the symbol in question. Users of addr2line(1) will be less proficient in hex arithmetic as a consequence. This amongst other things means that traceback lines change from: siointr1(c4016800,c073bda0,0,c06b699c,69f) at siointr1+0xc5 to siointr1(c4016800,c073bda0,0,c06b699c,69f) at 0xc062b0bd = siointr1+0xc5 I made this an option to avoid bikesheds. ~ ~ ~
* Initial import of RFC 2385 (TCP-MD5) digest support.bms2004-02-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first of two commits; bringing in the kernel support first. This can be enabled by compiling a kernel with options TCP_SIGNATURE and FAST_IPSEC. For the uninitiated, this is a TCP option which provides for a means of authenticating TCP sessions which came into being before IPSEC. It is still relevant today, however, as it is used by many commercial router vendors, particularly with BGP, and as such has become a requirement for interconnect at many major Internet points of presence. Several parts of the TCP and IP headers, including the segment payload, are digested with MD5, including a shared secret. The PF_KEY interface is used to manage the secrets using security associations in the SADB. There is a limitation here in that as there is no way to map a TCP flow per-port back to an SPI without polluting tcpcb or using the SPD; the code to do the latter is unstable at this time. Therefore this code only supports per-host keying granularity. Whilst FAST_IPSEC is mutually exclusive with KAME IPSEC (and thus IPv6), TCP_SIGNATURE applies only to IPv4. For the vast majority of prospective users of this feature, this will not pose any problem. This implementation is output-only; that is, the option is honoured when responding to a host initiating a TCP session, but no effort is made [yet] to authenticate inbound traffic. This is, however, sufficient to interwork with Cisco equipment. Tested with a Cisco 2501 running IOS 12.0(27), and Quagga 0.96.4 with local patches. Patches for tcpdump to validate TCP-MD5 sessions are also available from me upon request. Sponsored by: sentex.net
* Remote meteor driver. It hasn't compiled in over 3 years. If someoneimp2003-12-071-7/+0
| | | | | makes it compile again, and can test it, we can restore the driver to the tree.
* The dgb driver is redundant with the digi driver in the tree. It usesimp2003-12-071-1/+0
| | | | | | | | lots of old interfaces, and digi now supports all cards that dgb supported. The author of the driver says that this is no longer necessary. Approved by: babkin@
* Make interrupt pipe interval time configurable.akiyama2003-11-161-0/+2
| | | | | | | - Add kernel options: {UPLCOM,UVSCOM}_INTR_INTERVAL - Add sysctl variables: 'hw.usb.{uplcom,uvscom}.interval' MFC after: 1 week
* Allow the ng_uni node (NgATM signalling layer) to be built into theharti2003-11-071-0/+1
| | | | kernel via options NGATM_UNI.
* Removed the garbage options DPT_ALLOW_MEMIO, HIFN_NO_RNG,bde2003-11-051-16/+0
| | | | | | IPFIREWALL_FORWARD, NTIMECOUNTER, OHCI_DEBUG, UGEN_DEBUG, UHCI_DEBUG, UHID_DEBUG, UHUB_DEBUG, UKBD_DEBUG, ULPT_DEBUG, UMASS_DEBUG, UMS_DEBUG, URIO_DEBUG and VINUM_AUTOSTART.
* Hook the udf_iconv module up to the kernel build.scottl2003-11-051-0/+1
| | | | Submitted by: imura@ryu16.org
* Change the reset video option to be positive (hw.acpi.reset_video).njl2003-11-011-1/+0
| | | | | | | | | | | | | Requested by: jhb Initialize the real mode stack. This is needed at least for the return address from the lcall. Requested by: takawata Fix style bugs in acpi_wakecode.S Requested by: bde Remove the kernel option now that we have the tunable.
* Alphabetical order for ACPI options broken by adding ACPI_NO_RESET_VIDEO.iwasaki2003-10-291-1/+1
| | | | | | Add short comment about ACPI_NO_RESET_VIDEO into NOTES. Pointed-out by: njl
* Add kernel option ACPI_NO_RESET_VIDEO as workaround for problemsiwasaki2003-10-291-0/+1
| | | | | (e.g. LCD white-out after resume) on some machine cased by re-initialize video BIOS code in acpi_wakecode.
* speedup stream socket recv handling by tracking the tail ofsam2003-10-281-0/+2
| | | | | | | the mbuf chain instead of walking the list for each append Submitted by: ps/jayanth Obtained from: netbsd (jason thorpe)
* Allow building the NgATM SAAL layer directly into the kernel.harti2003-10-271-0/+3
|
OpenPOWER on IntegriCloud