summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* 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-182-3/+4
| | | | | | | | | 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.
* Sync the example of MODULES_OVERRIDE with the renamed sound drivers.tanimura2004-07-161-1/+1
| | | | Pointed out by: Christoph Mallon <christoph.mallon@gmx.de>
* Rename the sound device drivers:tanimura2004-07-162-95/+132
| | | | | | | | | | | | | | - `sound' The generic sound driver, always required. - `snd_*' Device-dependent drivers, named after the sound module names. Configure accordingly to your hardware. In addition, rename the `snd_pcm' module to `sound' in order to sync with the driver names. Suggested by: cg
* Copy qsort_r(3) from libc to libkern.glebius2004-07-151-0/+1
| | | | | Reviewed by: phk Approved by: julian (mentor)
* Hook up fdc_acpi for the kernel build.njl2004-07-152-0/+2
|
* A couple of grammar fixes in the bktr options section.roam2004-07-151-4/+4
| | | | | | PR: 66828 (mostly) Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 2 weeks
* Desupport M-Systems DiskOnChip driver "fla"phk2004-07-131-6/+0
|
* pccard no longer requires a count because the floppy driver thatimp2004-07-131-1/+1
| | | | nominally had a non-working reference to card.h has been removed.
* db_memrw.c has been subsumed into db_interface.c ala sparc64grehan2004-07-121-1/+0
|
* Make if_fwsubr.c dependant on fwip instead of firewire - there is notdfr2004-07-121-1/+1
| | | | much point including it if you aren't using IP over firewire.
* Update for the KDB framework:marcel2004-07-112-43/+29
| | | | | | | | | | | | | 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.
* Fix build for non-WITNESS casegrehan2004-07-111-0/+1
| | | | spotted by: Suleiman Souhlal <refugee@segfaulted.com>
* Mega update for the KDB framework: turn DDB into a KDB backend.marcel2004-07-101-19/+17
| | | | | | | | | | | | | | | | Most of the changes are a direct result of adding thread awareness. Typically, DDB_REGS is gone. All registers are taken from the trapframe and backtraces use the PCB based contexts. DDB_REGS was defined to be a trapframe on all platforms anyway. Thread awareness introduces the following new commands: thread X switch to thread X (where X is the TID), show threads list all threads. The backtrace code has been made more flexible so that one can create backtraces for any thread by giving the thread ID as an argument to trace. With this change, ia64 has support for breakpoints.
* Hook the GDB backend into the build.marcel2004-07-107-5/+9
|
* Update for the KDB framework. Sanitize the alpha console code now thatmarcel2004-07-101-4/+0
| | | | | | | | | | | | | | | | | | it's in the way even more. Basicly: remove all alpha specific console support from gfb(4), sio(4) and syscons(4). Rewrite the alpha console initialization to be identical to all other platforms. In a nutshell: call cninit(). The platform specific code now only sets or clears RB_SERIAL and thus automaticly causes the right console to be selected. sio.c: o Replace the remote GDB hacks and use the GDB debug port interface instead. o Make debugging code conditional upon KDB instead of DDB. o Call kdb_alt_break() instead of db_alt_break(). o Call kdb_enter() instead of breakpoint(). o Remove the ugly compatibility of using the console as the debug port.
* Hook the KDB frontend into the build.marcel2004-07-101-0/+1
|
* 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...
* Fix mismerge of fdc. Also, OLDCARD never was supported on amd64, soimp2004-07-091-1/+1
| | | | remove fdc attachment for it.
* Change the following environment variables to kernel options:brian2004-07-083-3/+15
| | | | | | | | | | | | | 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
* - Merged from sys/dev/fdc/fdc.c revision 1.275.nyan2004-07-081-0/+1
| | | | | - Break out the cbus front end from fd.c. - Remove the pccard support because it was broken.
* Change the following kernel options to environment variables:brian2004-07-083-15/+3
| | | | | | | | | | | | | | | | | | 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.
* Break out the isa and pccard front ends to the fdc controller device.imp2004-07-073-1/+7
| | | | | | | | | This should allow us to more easily break out the acpi and 'legacy pc' front ends as well (so only the bus front end would touch rtc, for example). This isn't a great separation, since isa dma routines are still called from the MI code, but it is a start.
* By popular request, add a workaround that allows large (>128GB or so)tjr2004-07-033-0/+16
| | | | | | | | | | | | | | | 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-022-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-023-0/+6
| | | | | | | | | | | | | | | | | | | | | | | 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!
* When building a kernel or the loader, let the hostname be overriddenps2004-07-011-1/+1
|
* My last commit broke oldcard. Rather than duplicate the lines forimp2004-06-301-1/+1
| | | | | pccarddevs.h, just make it standard for now. Once oldcard is gone, we'll revisit.
* Move acpi_if.m to files.{amd64,i386,ia64}. This should fix the alpha build.njl2004-06-304-1/+3
| | | | Pointed out by: gallatin
* Like usbdevs, use before-depend to ensure ordering.njl2004-06-301-1/+1
| | | | Glass plaque award: obrien
* Restore the terminating backslash lost by a typo.njl2004-06-301-1/+1
|
* Make acpi_quirks.h conditional on device acpi.njl2004-06-301-1/+1
|
* Add glue for building acpi_quirk.cnjl2004-06-301-0/+1
|
* Document the MUTEX_WAKE_ALL option and turn it on in LINT.jhb2004-06-301-0/+5
|
* Add acpi methods for HID/CID probing, evaluating objects, and walking thenjl2004-06-292-1/+2
| | | | | | namespace. This is to allow decoupling of attachments from ACPI where they need some functionality when ACPI is present but do not want to require ACPI to always be loaded.
* Add two new kernel options to allow rudimentary profiling of the internaljhb2004-06-292-0/+10
| | | | | | | 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.
* We need to build miidevs.h when we have miibus, not mii.imp2004-06-281-1/+1
|
* We don't need GEN_M_CFILES. Fold it into GEN_CFILES definition andimp2004-06-272-8/+5
| | | | | | adjust as necessary. Suggested by: bde
* Only build miidevs.h when we have mii in the kernelimp2004-06-271-3/+3
| | | | | | | Only build pccarddevs.h when we have pccard in the kernel Only build usbdevs.h when we have usb in the kernel Suggested by: bde
* Add options NETGRAPH_FEC to hook up ng_fec.c to the LINT build.rwatson2004-06-273-0/+3
|
* Add options NETGRAPH_EIFACE, which causes ng_eiface.c to be built intorwatson2004-06-273-0/+3
| | | | | the kernel, similar to NETGRAPH_IFACE for ng_iface.c. It appears to have been omitted when added to the kernel.
* Spelling fixes.mpp2004-06-261-14/+14
|
* MFp4:imp2004-06-261-3/+2
| | | | | | | | Now that the devs files are marked before-depend, we can remvoe them from a few places they were explicitly mentioned (along with BEFORE_DEPEND). Noticed by: bde
* MFp4:imp2004-06-261-3/+3
| | | | | | | | | | Reduce the need for hard coded *devs in various makefiles by declaring them before-depend. Other bugs in the handling of *devs remain, but this is the start of the cleanup. These will be address in future commits. Cleanup Motivator: bde
* Catch up with sparc64 OFWCONS_POLL_HZ changegrehan2004-06-251-0/+2
|
* Hook acpi_quirks up to the build for kernel and modules.njl2004-06-242-0/+16
|
* Better OFW console support on Sun Ultra2 machines.obrien2004-06-241-0/+1
| | | | | | | | | Ultra2 users may want to set OFWCONS_POLL_HZ to a value of '20'. I have left default value at '4' as higher values can consume a more than is acceptable amount of CPU, and we don't have a consensus yet what is an optimal value. Submitted by: Pyun YongHyeon <yongari@kt-is.co.kr>
* Add support for TCP Selective Acknowledgements. The work for thisps2004-06-232-0/+2
| | | | | | | | | | | | | | | 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)
* el(4) stopped needing to me a count device in December 2000.brooks2004-06-231-1/+1
|
* Correct a misleading comment regarding the IPSEC_FILTERGIF option.bms2004-06-221-3/+2
| | | | | PR: 57125 Requested by: Adrian Steinmann
OpenPOWER on IntegriCloud