Commit Graph

114660 Commits

Author SHA1 Message Date
mdodd
ed315b8449 Add the -S flag which produces the -s output without
mixing field separators.
2005-04-13 07:11:54 +00:00
mdodd
0c4aafd426 Show descriptions for type CTLTYPE_NODES. 2005-04-13 06:59:07 +00:00
mdodd
9a003c1eba Zero buffers. Seatbelt against sysctl(3) returning non-NUL terminated
string data.
2005-04-13 06:56:31 +00:00
mdodd
1420302200 Make it clear that the statement following the conditional is a NOP. 2005-04-13 06:42:43 +00:00
phk
bed006bfc1 Data is not information;
Information is not knowledge;
	Knowledge is not wisdom
			-- Gary Flake
2005-04-13 06:11:49 +00:00
anholt
3253b1c297 Follow i386's suit and include AGP support in the generic kernel. 2005-04-13 06:00:07 +00:00
mdodd
7cae26d43c Add support for more than two datasets. Currently limited to 7 though
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
2005-04-13 05:50:56 +00:00
mdodd
4cb76de2d0 Define additional commands.
Obtained from:	 Linux
2005-04-13 05:09:49 +00:00
mdodd
4e257bb504 Whitespace cleanup. 2005-04-13 05:06:57 +00:00
mdodd
5cd443c62e Remove unnecessary dpt_free(). 2005-04-13 05:03:14 +00:00
davidxu
b930b579e1 o Code cleanup, eliminate private thread id map, directly
use lwpid as thread id.
 o Export tls pointer.
2005-04-13 04:57:38 +00:00
mdodd
0bc2ec667b Implement SOUND_MIXER_INFO ioctl in compat layer. 2005-04-13 04:33:06 +00:00
mdodd
297dc263eb Add support for O_NOFOLLOW and O_DIRECT to Linux fcntl() F_GETFL/F_SETFL. 2005-04-13 04:31:43 +00:00
mdodd
7eec81b016 Invert conditional and use continue to reduce nesting. 2005-04-13 03:36:24 +00:00
mdodd
6221bff975 Add ISACFGATTR_HINTS flag to allow detection of a device that was created
as a result of the hints mechanism.
2005-04-13 03:26:24 +00:00
hrs
3ff751d8da Add -S option which allows to change the pathname of the privileged
socket /var/run/logpriv.

Reviewed by:	glebius and kensmith
MFC after:	2 days
2005-04-13 03:19:41 +00:00
marcel
e7b4d600b2 Build cpufreq on ia64. The upcoming Montecito processor supports the
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
2005-04-13 02:20:17 +00:00
mdodd
dfb93ab3e6 Save argv[0] and use it in usage message. 2005-04-13 01:44:59 +00:00
mdodd
496e5340f0 Invert conditional and use continue to reduce nesting. 2005-04-13 01:32:06 +00:00
mdodd
6fc07ad358 Bump __FreeBSD_version for LOCAL_CREDS, LOCAL_CONNWAIT.
Requested by:    marcus
2005-04-13 00:45:49 +00:00
mdodd
642653bef9 Provide a sysctl (net.link.tap.user_open) to allow unpriviliged
acces to tap(4) device nodes based on file system permission.

Duplicate the 'debug.if_tap_debug' sysctl under the
'net.link.tap' hierarchy.
2005-04-13 00:30:19 +00:00
mdodd
7c97e88f04 Implement unix(4) socket options LOCAL_CREDS and LOCAL_CONNWAIT.
- 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)
2005-04-13 00:01:46 +00:00
rwatson
0f8dea6a7f Consistently style function declarations in kern_malloc.c.
MFC after:	3 days
2005-04-12 23:54:34 +00:00
mdodd
cfc25da207 Indent structure members. 2005-04-12 23:49:57 +00:00
davidxu
86af0653a0 Fill traceme and events fields. 2005-04-12 23:33:08 +00:00
imp
05aa1068ac don't use C keyword register as CPP macro argument name 2005-04-12 23:32:26 +00:00
mdodd
51366ada5f Document the SUN_LEN macro.
Obtained from:	 NetBSD
2005-04-12 23:24:40 +00:00
jhb
e5a9dc7c11 Use PCPU_LAZY_INC() for cnt.v_{intr,trap,syscalls} rather than atomic
operations in some places and simple non-per CPU math in others.
2005-04-12 23:18:54 +00:00
jhb
c704170d2d Tidy vcnt() by moving a duplicated line above #ifdef and removing a useless
variable.
2005-04-12 23:15:28 +00:00
jhb
5fa1afa2da Use NULL rather than 0 in a couple of places. 2005-04-12 23:12:46 +00:00
jhb
6026ee8443 The memory operands to fldcw and ldmxcsr are inputs, not outputs. 2005-04-12 23:12:00 +00:00
cognet
254df829c8 We have an asm version of bcmp(), so we could use it as well. 2005-04-12 22:46:09 +00:00
vkashyap
81603ceacb The latest release of the FreeBSD driver (twa) for
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
2005-04-12 22:07:11 +00:00
mdodd
909de2e880 Replace spl protection in rtcin() and writertc() with spinlocks
using the existing clock_lock mutex.
2005-04-12 20:49:31 +00:00
mdodd
2288d12c6c - Consistently protect against NULL dereference.
- Simplify conditional logic to make code easier to read.
2005-04-12 20:14:56 +00:00
jylefort
99c51455af Add myself as a new ports committer.
Approved by:	adamw (mentor)
2005-04-12 20:06:43 +00:00
marcel
4047eb807c Dot the i's:
1  Move the debug.clock_adjust_* sysctls to debug.clock.adjust_* to
   make it easier to get only the clock statistics.
2  Make the sysctls read-only [suggested by Marius].
3  When determining the new clock adjustment, we checked for an error
   either larger than 12.5% or smaller than 12.5%. We left out an error
   of exactly 12.5%. For errors larger than 12.5% we adjust the clock
   reload value in such a way that the next clock interrupt would be
   early (as in premature). For errors less than 12.5% we stopped the
   adjustment.
   The current algorithm doesn't benefit from excluding an error of
   exactly 12.5%. Change the code to stop adjusting the clock if the
   error is *not* larger than 12.5% [suggested by Marius].

Discussed with: marius@
2005-04-12 18:50:57 +00:00
sam
14bde7eac7 honor new IEEE80211_KEY_GROUP key flag
Reviewed by:	Tai-hwa Liang
2005-04-12 17:56:43 +00:00
sam
035f2a0059 Revise crypto api lightly to improve group key handling:
o don't pre-assign key index to the global key table entries so device
  has a chance to decide what to use
o make ieee80211_crypto_newkey take the desired flags as an argument
  instead of wacking the key structure directly; this eliminates a
  bunch of code warts
o add a new flag IEEE80211_KEY_GROUP to indicate a key is a WPA Group
  key so devices don't need to guess (temporarily add this flag in the
  ioctl code until we can get wpa_supplicant+hostapd updated)
o shuffle IEEE80211_KEY_* bits to move flags used internally to the high
  nibble of the flags word

Reviewed by:	Tai-hwa Liang
2005-04-12 17:55:13 +00:00
ssouhlal
9ae14dd685 Unbreak the powerpc build by fixing some ATA constants that were renamed.
Approved by:	grehan (mentor)
2005-04-12 15:59:54 +00:00
imp
e18db39bcc Big cleanup of resource code for pccard. Once coventry noticed
problems here, it became clear we were being too complex.

o Don't keep track of resources in two places
o Use resource_list_purge instead of rolling our own
o Just reassign the ownership of the resource, rather than freeing it
  and reallocating it.
o Fix compile problems when sizeof(u_long) != sizeof(int)
2005-04-12 15:25:31 +00:00
sos
46bb5e57f3 On amd64 int64_t != long long. 2005-04-12 15:24:00 +00:00
thomas
378918ae78 Document that dumpdev may be set to AUTO to dump to the first appropriate
swap device listed in /etc/fstab.
2005-04-12 15:21:51 +00:00
imp
b90549f52b resource_list_purge: release the resources in this list, and purge the
elements of this list (eg, reset it).

Man page to follow
2005-04-12 15:20:36 +00:00
thomas
9f5c65ba7c Fix minor discrepancy between documentation and implementation: the
destination port is incremented for each packet sent to the same hop.

MFC after:	1 week
2005-04-12 15:16:32 +00:00
thomas
cfb0b173df (handler): When exitting upon an abnormal signal, yppush_exit() should not
attempt to clear its pending jobs list, as this could trigger another
signal, and cause an infinite recursion. What yppush_exit() tests
in order to determine whether to flush pending jobs is the
yppush_joblist chained list, so this is what needs to be cleared
in that case (not the yppush_jobs counter).

Reviewed by:	audit@ (no objection)
MFC after:	2 weeks
2005-04-12 15:02:57 +00:00
avatar
bb3555b556 Adding a brief description for pirtool.
Reviewed by:	sam (mentor)
2005-04-12 13:52:55 +00:00
brueffer
d4e9d7b218 Autogenerate hardware notes for snd_als4000.4, snd_fm801.4 and snd_via8233.4. 2005-04-12 13:33:20 +00:00
sos
820440e4f9 Better use the right name for the VIA software RAID. 2005-04-12 13:29:47 +00:00
sheldonh
f3cedc8862 Regen:
* Hart:		rev 517 of pcidevs.txt (2005-03-21)
* Boemler:      vendors.txt (2005-04-04)

Approved by:	re (kensmith)
2005-04-12 13:03:42 +00:00