Commit Graph

169101 Commits

Author SHA1 Message Date
apb bafb5bb96d * Expand the CAVEATS section with a lot more detail on how to safely
use the ctype functions.
* Use toupper((int)(unsigned char)*s)) instead of just
  toupper((unsigned char)*s) in an example.
2008-04-17 16:24:40 +00:00
yamt d8d1533c48 pidtbl_dump: use queue.h macros. no functional change. 2008-04-17 14:16:22 +00:00
yamt 91c77f1c78 enterpgrp: update a comment. 2008-04-17 14:14:20 +00:00
yamt 69bbf68c6e acquire proclist_lock for SESSHOLD/SESSRELE. 2008-04-17 14:07:31 +00:00
yamt bc397338d9 sched_tick: don't expire timeslices for SCHED_FIFO lwps. 2008-04-17 14:03:42 +00:00
yamt 70f8f58cac s/selwakeup/selnotify/ in a comment. 2008-04-17 14:02:24 +00:00
yamt dc985aec9b cpu_debug_dump: s/curproc/curlwp/ in a message. 2008-04-17 14:01:03 +00:00
cegger 7d2699a931 reduce diff to x86/x86/cpu.c 2008-04-17 12:24:44 +00:00
hannken 2fd9e21242 Replace get/setspecific with a void pointer in struct ufsmount. Use explicit
initialization/finalization of snapshot private data on creation/deletion
of struct ufsmount.
Snapshot mounts no longer may fail silently because kmem_alloc() fails.

Welcome to 4.99.60

Ok: Andrew Doran <ad@netbsd.org>
2008-04-17 09:52:47 +00:00
cegger a92eb72e37 use aprint_*_dev.
OK simonb
2008-04-17 09:09:54 +00:00
simonb 246143d6c1 Set up uvmhist in uvm_aio_aiodone_pages(). 2008-04-17 05:39:41 +00:00
cegger 467fe0c43b Add missing bracket. Fixes build for i386 ALL kernel. 2008-04-17 05:26:11 +00:00
macallan 94959c08d1 first step for X on rev. 4 Sharks - add support for mmap()ing ISA IO,
legacy VGA and SVGA aperture via /dev/ttyE0
Mappings are restricted to root ( hi Elad )
2008-04-17 00:03:36 +00:00
cegger a0fc30e931 use POSIX integer types 2008-04-16 21:51:02 +00:00
dyoung 71455e2d0d C99 does not allow u_int8_t bitfields, so use unsigned int, instead. 2008-04-16 20:58:35 +00:00
cegger 19a5965092 Use device_xname(). From Manuel Bouyer. 2008-04-16 20:50:27 +00:00
cegger af33bdeef3 device_t / softc split
reviewed, tested and approved by bouyer
2008-04-16 18:41:48 +00:00
cegger 5c97fc53e8 - use aprint_*_dev and device_xname
- use POSIX integer types
2008-04-16 16:06:51 +00:00
nakayama 1ff012e906 Disable TRAPSTATS which was accidentally enabled when yamt-idlelwp branch
was merged.

Ok by martin@.
2008-04-16 15:31:15 +00:00
njoly 69614dfece Remove an obsolete comment about SHM_LOCK/SHM_UNLOCK being no-op. 2008-04-16 14:47:31 +00:00
njoly 14183438ed Kill a few other unused linux syscall arguments/prototypes
definitions.
2008-04-16 10:03:31 +00:00
cegger 376411d2dd device_t / softc split. From Hans Rosenfeld. 2008-04-16 09:39:01 +00:00
cegger 2e0a7d9ea0 ppbus device_t / softc splitting. From Hans Rosenfeld. 2008-04-16 06:25:23 +00:00
cegger 7b52308352 Use %zu format specifier for size_t. Fixes build error on shark. 2008-04-15 22:50:33 +00:00
dyoung f7545c1509 Straggler from last: call fewer protocol family-specific initialization
routines from main(), since the protocol-family modules are taking
care of it.
2008-04-15 22:26:58 +00:00
dyoung 499909306a Use static initializers to setup ISO and IPv6 addresses, instead
of calling protocol family-specific routines from main().
2008-04-15 22:24:37 +00:00
dyoung 8de26a0c60 Cosmetic: write strcmp() == 0 instead of !strcmp(). 2008-04-15 22:14:07 +00:00
mlelstv 30bf1b0457 If we build with tools the util functions are provided by libnbcompat. 2008-04-15 21:50:22 +00:00
cegger ab6ed915af regen. 2008-04-15 21:26:08 +00:00
cegger 712028b754 add devices found on HP Pavilion dv9700 Notebook 2008-04-15 21:24:07 +00:00
njoly a73122f64e Make linux32_sys_nice call sys_setpriority directly instead of
netbsd32_setpriority.
2008-04-15 21:13:34 +00:00
njoly 8529e0b201 Remove syscall prototypes forgotten in previous commit. 2008-04-15 21:10:06 +00:00
njoly 80b21f4457 Remove unused linux_sys_setresgid16_args/linux_sys_setresuid16_args
definitions.
2008-04-15 19:10:19 +00:00
cegger 2ae1aec4f9 Make this build without options LPT_VERBOSE and LPT_DEBUG. From Hans Rosenfeld. 2008-04-15 19:06:16 +00:00
cegger 57f80cdb16 Make this build. From Hans Rosenfeld. 2008-04-15 19:03:26 +00:00
rmind 5c0e3318e2 Adjust comments: spc_mutex is now always a per-CPU lock, L_INMEM -> LW_INMEM,
L_WSUSPEND -> LW_WSUSPEND, and remove white-spaces, while here.
2008-04-15 18:54:30 +00:00
jdc e78f48a7d8 Add getwin and putwin mlinks. 2008-04-15 18:27:01 +00:00
thorpej 6144958d8f ARP and IGMP stats are now available by sysctl. 2008-04-15 16:06:28 +00:00
oster 8fb49f6fa8 A forced recon read should not default to indicating that the reads
for that disk have stopped, since this will bump us out of the normal
reconstruction loop prematurely.

Fixes the (mostly cosmetic) bug where the reconstruction
status values stop updating, and from raidctl it appears that
reconstruction has totally stalled (which it actually hasn't -- the
reconstruction does complete properly, but not in the normal way).
2008-04-15 16:05:43 +00:00
thorpej 83dd106948 Make IGMP stats per-cpu. 2008-04-15 16:02:03 +00:00
thorpej 881a947288 Make ARP stats per-cpu. 2008-04-15 15:17:54 +00:00
cegger b849cd90e5 device_t / softc split. From Hans Rosenfeld 2008-04-15 15:02:28 +00:00
plunky 486e4624e5 some changes to serial bluetooth host controller interfaces
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
njoly 3ce80f6407 Remove unneeded amd64 ifdef/endif. 2008-04-15 11:08:05 +00:00
apb af04b66a89 Remove an extraneous "%" from the end of a line. 2008-04-15 09:53:58 +00:00
apb 0a0e65b2a1 In the nooutput function, use {...} to ensure that shell messages
like "cmd: not found" are also redirected.

This should fix a problem reported by Chavdar Ivanov in which
the message "mtree: not found" appears during installation.
2008-04-15 09:52:41 +00:00
thorpej 1121526b25 Make CARP status per-cpu. 2008-04-15 06:03:28 +00:00
thorpej 0e499be12d Make pim6 stats per-cpu. 2008-04-15 05:40:15 +00:00
thorpej 27c227fe6e Explicitly include <sys/percpu.h>. 2008-04-15 05:23:33 +00:00
thorpej 16497cdf28 Make raw6 stats per-cpu. 2008-04-15 05:13:37 +00:00