summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Never hardcode /sys into these Makefiles. The proper way to spell it is $S.imp2005-04-139-16/+3
| | | | | | | Also, move the -I stuff to the centralized kern.pre.mk. However, it might be better to add these flags to files.conf. This is a short term fix to fix the broken builds on my machine (I don't have a valid /sys link).
* NG_MKRESPONSE() macro includes sizeof struct ng_mesg when doing allocation.glebius2005-04-131-2/+1
| | | | | PR: kern/79806 Submitted by: Wojciech A. Koszek
* According to the comment in struct tty, t_modem is optional; hence we shouldavatar2005-04-131-2/+4
| | | | | | | | guard against NULL t_modem entry. Otherwise, driver doesn't have t_modem callback implemented(such like sys/dev/usb/ucycom.c) would panic when someone opens the driver's associated tty device. Reviewed by: phk, sam (mentor)
* Merge two slice_type_name() functions.nyan2005-04-131-23/+4
|
* - Remove ifdef PC98.nyan2005-04-138-1044/+68
| | | | - Reduce diffs from i386.
* Remove a meaningless include.nyan2005-04-132-4/+0
|
* Move pc98 specific parts to the pc98 specific file.nyan2005-04-134-14/+69
|
* Remove ifdef PC98.nyan2005-04-132-25/+0
|
* Split VarFind() into a series of functions tailored for the different setsharti2005-04-131-70/+94
| | | | | | | | | of flags originally passed to VarFind(). This eliminates the code by removing a bunch of tests. Patch: 7.173 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* - Change all filesystems and vfs_cache to relock the dvp once the child isjeff2005-04-1319-64/+39
| | | | | | locked in the ISDOTDOT case. Se vfs_lookup.c r1.79 for details. Sponsored by: Isilon Systems, Inc.
* - Change vop_lookup_post assertions to reflect recent vfs_lookup changes.jeff2005-04-131-12/+2
| | | | Sponsored by: Isilon Systems, Inc.
* - Further simplify lookup; Force all filesystems to relock in the DOTDOTjeff2005-04-131-30/+23
| | | | | | | | | | | case. There are bugs in some which didn't unlock in the ISDOTDOT case to begin with that need to be addressed seperately. This simplifies things anyway. - Fix relookup() to prevent it from vrele()'ing the dvp while the vp is locked. Catch up to other lookup changes. Sponsored by: Isilon Systems, Inc. Reported by: Peter Wemm
* Add NO_DICT handle. Saves almost 3.5 MB installed.phk2005-04-134-2/+11
|
* Add #defines for control fields and address bits.mdodd2005-04-131-0/+28
|
* Support for the GTCO Digipad.mdodd2005-04-133-0/+80
|
* Add a ata_setmode method so we dont panic on setmode.sos2005-04-133-4/+40
| | | | | Note that the mode is only set on the device, we (mostly) have no knowledge on how to set mode on the controller if at all possible.
* Add the -S flag which produces the -s output withoutmdodd2005-04-132-12/+26
| | | | mixing field separators.
* Show descriptions for type CTLTYPE_NODES.mdodd2005-04-131-0/+5
|
* Zero buffers. Seatbelt against sysctl(3) returning non-NUL terminatedmdodd2005-04-131-0/+2
| | | | string data.
* Make it clear that the statement following the conditional is a NOP.mdodd2005-04-132-2/+4
|
* Data is not information;phk2005-04-131-0/+5
| | | | | | Information is not knowledge; Knowledge is not wisdom -- Gary Flake
* Follow i386's suit and include AGP support in the generic kernel.anholt2005-04-131-0/+2
|
* Add support for more than two datasets. Currently limited to 7 thoughmdodd2005-04-132-58/+58
| | | | | | | | | the limit is only the number of meaningful graph symbols available. Statistical comparison is performed between the first dataset and any further datasets. No objection by: phk
* Define additional commands.mdodd2005-04-131-0/+15
| | | | Obtained from: Linux
* Whitespace cleanup.mdodd2005-04-135-33/+33
|
* Remove unnecessary dpt_free().mdodd2005-04-131-1/+0
|
* o Code cleanup, eliminate private thread id map, directlydavidxu2005-04-131-187/+64
| | | | | use lwpid as thread id. o Export tls pointer.
* Implement SOUND_MIXER_INFO ioctl in compat layer.mdodd2005-04-131-3/+36
|
* Add support for O_NOFOLLOW and O_DIRECT to Linux fcntl() F_GETFL/F_SETFL.mdodd2005-04-132-0/+21
|
* Invert conditional and use continue to reduce nesting.mdodd2005-04-131-5/+5
|
* Add ISACFGATTR_HINTS flag to allow detection of a device that was createdmdodd2005-04-132-0/+3
| | | | as a result of the hints mechanism.
* Add -S option which allows to change the pathname of the privilegedhrs2005-04-132-2/+11
| | | | | | | socket /var/run/logpriv. Reviewed by: glebius and kensmith MFC after: 2 days
* Build cpufreq on ia64. The upcoming Montecito processor supports themarcel2005-04-131-0/+1
| | | | | | | | Enhanced SpeedStep (that is, a follow-up of it called Foxton). Until we actually have support for that, we build to catch regressions in the framework. Triggered by: njl
* Save argv[0] and use it in usage message.mdodd2005-04-131-1/+5
|
* Invert conditional and use continue to reduce nesting.mdodd2005-04-131-16/+16
|
* Bump __FreeBSD_version for LOCAL_CREDS, LOCAL_CONNWAIT.mdodd2005-04-131-1/+1
| | | | Requested by: marcus
* Provide a sysctl (net.link.tap.user_open) to allow unpriviligedmdodd2005-04-132-4/+17
| | | | | | | acces to tap(4) device nodes based on file system permission. Duplicate the 'debug.if_tap_debug' sysctl under the 'net.link.tap' hierarchy.
* Implement unix(4) socket options LOCAL_CREDS and LOCAL_CONNWAIT.mdodd2005-04-135-16/+179
| | | | | | | | - Add unp_addsockcred() (for LOCAL_CREDS). - Add an argument to unp_connect2() to differentiate between PRU_CONNECT and PRU_CONNECT2. (for LOCAL_CONNWAIT) Obtained from: NetBSD (with some changes)
* Consistently style function declarations in kern_malloc.c.rwatson2005-04-121-23/+7
| | | | MFC after: 3 days
* Indent structure members.mdodd2005-04-121-3/+3
|
* Fill traceme and events fields.davidxu2005-04-121-0/+8
|
* don't use C keyword register as CPP macro argument nameimp2005-04-121-2/+2
|
* Document the SUN_LEN macro.mdodd2005-04-121-0/+18
| | | | Obtained from: NetBSD
* Use PCPU_LAZY_INC() for cnt.v_{intr,trap,syscalls} rather than atomicjhb2005-04-1216-25/+25
| | | | operations in some places and simple non-per CPU math in others.
* Tidy vcnt() by moving a duplicated line above #ifdef and removing a uselessjhb2005-04-121-5/+2
| | | | variable.
* Use NULL rather than 0 in a couple of places.jhb2005-04-121-2/+2
|
* The memory operands to fldcw and ldmxcsr are inputs, not outputs.jhb2005-04-121-2/+2
|
* We have an asm version of bcmp(), so we could use it as well.cognet2005-04-122-2/+1
|
* The latest release of the FreeBSD driver (twa) forvkashyap2005-04-1238-31888/+36496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ware's 9xxx series controllers. This corresponds to the 9.2 release (for FreeBSD 5.2.1) on the 3ware website. Highlights of this release are: 1. The driver has been re-architected to use a "Common Layer" (all tw_cl* files), which is a consolidation of all OS-independent parts of the driver. The FreeBSD OS specific portions of the driver go into an "OS Layer" (all tw_osl* files). This re-architecture is to achieve better maintainability, consistency of behavior across OS's, and better portability to new OS's (drivers for new OS's can be written by just adding an OS Layer that's specific to the OS, by complying to a "Common Layer Programming Interface" API. 2. The driver takes advantage of multiple processors. 3. The driver has a new firmware image bundled, the new features of which include Online Capacity Expansion and multi-lun support, among others. More details about 3ware's 9.2 release can be found here: http://www.3ware.com/download/Escalade9000Series/9.2/9.2_Release_Notes_Web.pdf Since the Common Layer is used across OS's, the FreeBSD specific include path for header files (/sys/dev/twa) is not part of the #include pre-processor directive in any of the source files. For being able to integrate twa into the kernel despite this, Makefile.<arch> has been changed to add the include path to CFLAGS. Reviewed by: scottl
* Replace spl protection in rtcin() and writertc() with spinlocksmdodd2005-04-122-12/+12
| | | | using the existing clock_lock mutex.
OpenPOWER on IntegriCloud