summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Oops, I missed a few changes in 'device acpica' -> 'device acpi' change.jhb2002-10-241-1/+1
| | | | Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
* Rename 'device acpica' to 'device acpi'.jhb2002-10-243-151/+151
| | | | Approved by: msmith, iwasaki
* Provide kernel options for the various MAC policy modules so thatrwatson2002-10-243-1/+22
| | | | | | | | | | 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
* The rc driver is not needed for pc98.nyan2002-10-241-1/+0
|
* - New-bussify the rc(4) device driver.jhb2002-10-232-1/+1
| | | | | | | | | | | | - Add detach support to the driver so that you can kldunload the module. Note that currently rc_detach() fails to detach a unit if any of its child devices are open, thus a kldunload will fail if any of the tty devices are currently open. - sys/i386/isa/ic/cd180.h was moved to sys/dev/ic/cd180.h as part of this change. Requested by: rwatson Tested by: rwatson
* Reserve a major number for NVIDIA.mdodd2002-10-221-0/+1
|
* All bpf.h/NBPF consumers are gone so stop generating bpf.hbrooks2002-10-211-3/+0
|
* Add kernel dump support, based on the ia64 version (which was committedtmm2002-10-201-0/+1
| | | | | | | | | | as sparc64/sparc64/dump_machdep.c a while back). Other than ia64 (which uses ELF), sparc64 uses a homegrown format for the dumps (headers are required because the physical address and size of the tsb must be noted, and because physical memory may be discontiguous); ELF would not offer any advantages here. Reviewed by: jake
* After much delay and anticipation, welcome RAIDFrame into the FreeBSDscottl2002-10-204-0/+72
| | | | | | world. This should be considered highly experimental. Approved-by: re
* Put back NORMAL_C_NOWERROR, it was actually used.mux2002-10-191-0/+1
| | | | Pointy hat to: mux
* Remove the _ia64_unwind_start and _ia64_unwind_end symbols. We nowmarcel2002-10-191-2/+0
| | | | find the unwind table through the ELF program headers.
* Add Geom Based Disk Encryption to the tree.phk2002-10-193-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - Remove ${NORMAL_C_NOWERROR}, it is not used anymore. To buildmux2002-10-191-3/+2
| | | | | | | | | | without -Werror, we do "make WERROR=", which doesn't need this variable. - Use ${.IMPSRC} instead of $< in ${NORMAL_M} for consistency with the rest of the file. - Add ${WERROR} for the ${NORMAL_M} case. Tested on: i386, sparc64
* Make the unwind functions standard and not optional on ddb. Theymarcel2002-10-191-1/+1
| | | | will eventually be used for ktrace(2) too.
* (1) added LSI Logic copyright, and legal line 3 in license, and stringemoore2002-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | changes for "LSILogic" (2) enabled non-disk support through CAM interface (3) HA_INQ (a) enabled tagged queuing (b) disable reset during driver loading (b) renamed BSDi string to LSI (4) disabled detecting disk devices during SCSI INQUIRY (5) changed dcdb single element sglist to send one entire buffer chunk (6) nsgelem not set in sglist (7) ap_data_transfer_length not set for dcdb (8) changed "struct thread" to "d_thread_t" for compatibliity { xxx_open, xxx_close, xxx_ioctl } (9) miscellaneous compatiblity fixes (10) bug fix for 0x0409/0x1000 card (11) added compiling amr_cam.c in sys/conf/files (12) added compiling amr_cam.c in sys/modules/amr/Makefile Reviewed by:ps MFC after:1 week 1 week
* Build openfirmio on sparc64.tmm2002-10-181-0/+1
|
* Cover the ELF headers with the text segment so that they get loadedmarcel2002-10-181-1/+1
| | | | | | into memory. This brings us in line with the other architectures and more easily allows us to do machine dependent processing on the ELF file (such as scanning for unwind information).
* Allocate major 177 for the OpenFirmware control device, which I havetmm2002-10-171-0/+1
| | | | ported from NetBSD and plan to commit soon.
* my(4) requires miibus, so that move it into proper section and also add asobomax2002-10-171-1/+2
| | | | verbose description into comment area.
* Fixed the quoting of the value of SC_CUT_SEPCHARS. The double quotesbde2002-10-171-21/+21
| | | | | | | | | | | | | | | | | | | needed to be quoted (to get a C string literal), not the value itself. Fixed the value of SC_CUT_SEPCHARS. Setting this value would have had no effect even if it were used, since the value was the same as the default. The above bugs had no effect except to set bad examples, since test coverage of SC_CUT_SEPCHARS is broken by enabling a negative option. Removed (unquoted) double quotes for all options. They were all bogus since they had no effect except to make non-strings look like strings. Most of the non-strings were expressions. The value of INIT_PATH is a non-string since it is stringified later (unlike SC_CUT_SEPCHARS). Fixed parenthesization errors inside bogus quotes (parenthesize values if they have more than one token in them but don't parenthesize single tokens).
* Add new syscons option SC_NO_SUSPEND_VTYSWITCH.iwasaki2002-10-176-0/+6
| | | | This disables vty switch during suspend/resume.
* MFi386: revision 1.181.nyan2002-10-161-0/+1
|
* Tie new "Fast IPsec" code into the build. This involves the usualsam2002-10-163-0/+14
| | | | | | | | | | | | 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
* Don't show the command line when doing "make lint".phk2002-10-151-1/+1
|
* Enable mpt && ISP_TARGET_MODE in isp (for Lint purposes)mjacob2002-10-151-1/+4
|
* Add a knob to turn on and off the CMPXCHG instruction on > i386 IA32 systems.pirzyk2002-10-141-0/+1
| | | | | | | This is most beneficial for vmware client os installs. Reviewed by: jmallet, iedowse, tlambert2@mindspring.com MFC After: never, -STABLE does not currently use this instruction
* Allow firewire, sbp (SCSI over firewire), and fwe (non-standard rawjhb2002-10-142-0/+13
| | | | | ethernet over firewire) to be statically compiled into the kernel as devices.
* Add in the GEOM control module.phk2002-10-131-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Connect trm(4) to the build.cognet2002-10-132-0/+3
| | | | | Reviewed by: mux (mentor) Approved by: mux (mentor)
* Remove the P1003_1B kernel option; it is no longer used.mike2002-10-132-3/+0
|
* Remove _KPOSIX_VERSION as a kernel option, nothing uses this any more.mike2002-10-132-3/+0
|
* Build the kernel with -mconstant-gp. This means that function calls,marcel2002-10-131-0/+2
| | | | | | | | | | | | with the exception of indirect function calls, are assumed to be intra load module and thus that GP will be the same. This avoids saving, setting and restoring GP for each function call and reduces the kernel with ~320KB. There's obviously a performance benefit as well. Note that since we generally don't know if calls will be intra or inter load module when we're compiling kernel modules, -mconstant-gp cannot be used for modules.
* ia64 specific CFLAGS change:marcel2002-10-131-1/+1
| | | | | | | | | | | | Fix the "@gprel relocation against dynamic symbol xxx" linker error. Variables defined in the link unit and small enough to be put in the short data section will have a gp-relative access sequence (using the @gprel relocation). It is invalid to have @gprel relocations in shared libraries, because they are to be resolved by the static linker and not the dynamic linker. The -fpic option will cause @ltoff relocations for @gprel relocations, but the side-effects are untested (if any). Instead, disable/eliminate the short data section to achieve the same.
* Have the linker collect and combine all unwind_info and unwindmarcel2002-10-121-2/+2
| | | | | sections so that the resulting load module has a single unwind table. This matches the behaviour in userland.
* - Create a new scheduler api that is defined in sys/sched.hjeff2002-10-121-0/+1
| | | | | | | | | | - Begin moving scheduler specific functionality into sched_4bsd.c - Replace direct manipulation of scheduler data with hooks provided by the new api. - Remove KSE specific state modifications and single runq assumptions from kern_switch.c Reviewed by: -arch
* Use the new freebsd output format from Binutils 2.13.1.obrien2002-10-113-3/+3
|
* Hook up strsep(3) to libkern following a repo-copy by Peter. This willrwatson2002-10-101-0/+1
| | | | | | allow us to avoid nasty by-hand string parsing stuff in a number of places in the kernel, reducing the risk of unexpected consequences for kernel correctness.
* geom_mbr.c and geom_bsd.c would be kinda useful here too, at leastpeter2002-10-101-0/+2
| | | | for a while.
* Import the libc fnmatch() into the kernel. This will be used by,dd2002-10-081-0/+1
| | | | | | | | | | | among other things, the DEVFS rule subsystem to match nodes against a path pattern supplied by the user. fnmatch.c was repo-copied from src/lib/libc/gen/fnmatch.c, and the only changes to it are those necessary to make it compile in the kernel. The relevant parts of fnmatch.h were imported into libkern.h. Approved by: -arch
* Add device driver for Belkin F5U103 and compatible USB-to-serial adapters.kan2002-10-082-0/+3
| | | | | Reviewed by: n_hibma Approved by: obrien
* warn about p1003_1b_semaphoresalfred2002-10-071-0/+2
|
* NB: This commit does *NOT* make GEOM the default in FreeBSDphk2002-10-058-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add code for ACPI PCI link object manipulation.iwasaki2002-10-051-0/+1
| | | | | | | | | This allocate the best IRQ to boot-disable devices (have IRQ 0). Allocated IRQ will be used for PCI interrupt routing when ACPI is enabled. Note that verbose messaging enabled for the time being so that people can easily notice the strange behavior if it happened.
* hookup new crypto support to the config/build processsam2002-10-047-0/+59
|
* add crypto interface to the MFILES listsam2002-10-041-1/+2
|
* major 70 is for /dev/crypto (to be consistent with openbsd)sam2002-10-041-0/+1
|
* Use the -mno-align-long-strings on i386's to debloat the kernel a little.bde2002-10-041-1/+1
| | | | | | This reduces the size of GENERIC's text space by 73999 bytes (about 2%). The bloat is from approximately 3437 strings longer than 31 characters being padded to a 32-byte boundary.
* newbus & bus_space the mcd(4) driver.mdodd2002-10-044-2/+8
|
* Alas, poor matcd, I knew ye well.scottl2002-10-043-3/+0
| | | | | | | | It doesn't work. It cannot be made to work. Goodbye. X-MFC after: ASAP
OpenPOWER on IntegriCloud