156336 Commits

Author SHA1 Message Date
dyoung
7cfeb3c2ed Clean this code up some.
Extract subroutine rn_delete1() to ease RADIX_MPATH integration,
should we ever do that.

Remove RN_DEBUG code that does not compile.

Join some lines of the type

        type var1;
        type var2;
        type var3;

making

        type var1, var2, var3.

Break lines of the type if (expr) stmt1; else stmt2; so that normal
people can read them.
2007-02-17 07:46:38 +00:00
dyoung
05b0abac15 Don't open-code LIST_FOREACH(). 2007-02-17 06:11:25 +00:00
dyoung
c80b247b25 Join lines. 2007-02-17 05:36:29 +00:00
dyoung
7ed406393a s/in_rtflush/in_rtcache/g 2007-02-17 05:35:50 +00:00
matt
f7d7a7a06a Add an implementation for krwlock_t. Initialize ci_mtx_count to 1 (biased).
Fix a few buglets in the kmutex_t implementation.
2007-02-17 05:34:07 +00:00
dyoung
f272db0899 bzero -> memset 2007-02-17 05:31:39 +00:00
dyoung
08f386424b bcopy -> memcpy
Use NULL instead of (struct rtentry *)0.
2007-02-17 05:31:15 +00:00
dyoung
2c0b8d1468 KNF: compare pointers with NULL. Remove extraneous parentheses
from return statements.

bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
2007-02-17 05:01:47 +00:00
dyoung
730acb6a6a Cosmetic: don't open-code TAILQ_FOREACH. 2007-02-17 04:59:50 +00:00
tsutsui
5dea0b7003 Make disconnect/reselect work on news68k si(4) with DMA and
enable it by default.
2007-02-17 01:27:07 +00:00
daniel
a9591251aa Document addition of VIA ACE support. 2007-02-17 00:41:57 +00:00
daniel
c339e55881 Add an opencrypto provider for the AES xcrypt instructions found on VIA
C5P and later cores (also known as 'ACE', which is part of the VIA PadLock
security engine). Ported from OpenBSD.

Reviewed on tech-crypto and port-i386, no objections to commiting this.
2007-02-17 00:28:23 +00:00
rmind
ede64e5874 - Add link to memoryallocators(9) in kmem_*(9), vmem(9), uvm(9), malloc(9),
pool(9) and pool_cache(9) manuals.
- Sort uvm(9) "SEE ALSO" section.
2007-02-16 23:13:05 +00:00
dillo
ff885dda73 Fix typo, add comma. 2007-02-16 22:26:36 +00:00
tsutsui
7d0e6302b9 Remove autovectored ISR priorities and use now properly defined
IPL_* values for isrlink_autovec().
2007-02-16 21:52:47 +00:00
tsutsui
c98c1f9199 Use LIST_*() macro. 2007-02-16 21:46:27 +00:00
pooka
85cb1a4957 In lookup, when checking for procfs process node validity, target the
process we're trying to get information about through procfs, not
the caller of lookup.

fixes 'ls -l /proc/*/file' panic, which would occur when trying to
lookup "file" for a kernel thread, which doesn't have p->p_textvp.
2007-02-16 21:37:56 +00:00
wiz
32a80e5d97 Add if, NC, ti and te to wsvt25 termcap entry. Should fix PR 34995.
Patch from Onno van der Linden (and Sergey Svishchev).
2007-02-16 21:33:12 +00:00
alc
0369238ed8 Update documentation URL. Previous one was leading to a "Page not found". 2007-02-16 21:05:40 +00:00
christos
db83b694ee add bitmask_snprintf string. 2007-02-16 20:54:12 +00:00
njoly
5f6b6270e4 Regen. 2007-02-16 20:49:40 +00:00
njoly
11f77cf45a Add support for a few syscalls:
setfsuid16/getfsuid16
setfsuid/getfsuid
sched_yield

ok by manu
2007-02-16 20:49:06 +00:00
hubertf
6a0e6d5715 Moved ctype.h from header to source file in usr.bin/tip.
Also removed unused getopt header.

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
2007-02-16 20:25:33 +00:00
tsutsui
a46d60ccc4 Disable more options to shrink kernel size. 2007-02-16 19:15:15 +00:00
hannken
198beb0314 Make fstrans(9) the default helper for file system suspension.
Replaces the now obsolete vn_start_write()/vn_finished_write().
2007-02-16 17:23:53 +00:00
riz
16a0235c60 Use strtoll() when converting a 64-bit quantity. This makes "gpt add"
work with an offset of more than 2147483647 sectors.  While I'm here,
use strtoul() when converting an unsigned quantity.
2007-02-16 17:13:02 +00:00
pooka
27f51110f8 lookup in-core nodes in readdir() and provide the real inode for
each node.  This makes pwd work.
2007-02-16 16:39:56 +00:00
pooka
ddd5ed5765 Check against root node cookie when fetching a new vnode and invoke
VFS_ROOT() if the cookies match.  Without this fix, if the root
vnode was reclaimed, doing lookups for dotdot from the root vnode
was possible.  In practice this occured only through getcwd.
2007-02-16 16:37:55 +00:00
freza
592d6d615c Fix MKDEBUGLIB build. 2007-02-16 16:34:17 +00:00
pooka
eb8b0d493d LIBDPLIBS on puffs 2007-02-16 15:44:37 +00:00
ad
431bcb0874 Pacify lint. 2007-02-16 15:42:02 +00:00
hubertf
4aa8f11f5e Xref the firmware package, just like wpi.4 and iwi.4 do,
bump date.
2007-02-16 15:32:08 +00:00
ad
2d62904bd2 More spllowersoftclock() fallout. 2007-02-16 14:00:17 +00:00
tsutsui
31e60d91eb Include <machine/cpu.h> for struct cpu_info. 2007-02-16 13:56:24 +00:00
ad
36bb413e0d More spllowersoftclock() fallout. 2007-02-16 13:55:42 +00:00
tsutsui
c9962e639e Set ER_RXSTAT_OWNER after all descriptor members are ready. 2007-02-16 13:43:57 +00:00
tsutsui
3fe4f9fc45 Make DMA descriptors volatile to avoid unintended reordering which might
cause some race condition.
2007-02-16 13:43:00 +00:00
ad
d14a7576fc Fix spllowersoftclock() fallout. 2007-02-16 13:42:29 +00:00
ad
64c0514340 More vax changes. 2007-02-16 13:41:45 +00:00
tsutsui
990a39ff81 Remove hacks for now removed spllowersoftclock(9). 2007-02-16 13:27:00 +00:00
tsutsui
937ff586b1 RTK_HWREV_8100E_SPIN2 is a PCIe device so also check it
in rtk_setmulti() to handle quirk. Noticed by OpenBSD.
2007-02-16 13:01:48 +00:00
njoly
1fdc51be7d Fix incorrect voltage sensors range. It was using 7 numbers, where the
driver support only 5 voltage sensors.

ok by xtraeme
2007-02-16 12:46:11 +00:00
vanhu
496e74bcde From Olivier Warin: Fix a %zu in a printf. 2007-02-16 11:01:35 +00:00
vanhu
834d2e72c5 Fixed a %zu in a printf 2007-02-16 11:01:34 +00:00
oster
204d46e90b Fix typo from newlock2 merge, allowing MIPS64 to build again. 2007-02-16 03:30:48 +00:00
ad
4b2e60ca6b Add MUTEX_NO_SPIN_ACTIVE_P() to check if spin mutexes are held on
the current cpu. A generic version is provided if the architecture
does not provide one.
2007-02-16 03:10:12 +00:00
ad
3363855a4a Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad
26c2c3986f MUTEX_SET_WAITERS(): return zero if the mutex has become unheld. 2007-02-16 02:48:47 +00:00
ad
86e995e9d5 More MD changes to get vax compiling. 2007-02-16 02:17:42 +00:00
markd
94de172517 regen for i965Q 2007-02-16 01:35:53 +00:00