christos
0fe2e6efc3
PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)
...
acpiapm(4) always matches the first node of AML, which is unrelated
with acpiapm. Separate acpi(4)'s children into two individual interface
attributes.
2006-08-06 15:46:54 +00:00
xtraeme
9c74798bdd
AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
...
adapted from OpenBSD.
Tested on a few machines:
http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg
Thanks to cube, elad and others for testing and fixes.
Enabled by default on GENERIC.
2006-08-06 15:37:21 +00:00
bjh21
47ef6bac03
Using humanize_number() on clock speeds does more harm than good, and
...
precious little of either. Go back to displaying them with all their digits.
2006-08-06 13:29:42 +00:00
martin
12cf319c62
Fix size confusion with lfs_fhandle - and as it now turns out to be the same
...
as the lfs compat_30_fhandle, g/c the latter.
Add an alias for the LFCNIFILEFH fcntl, so that binaries compiled in the
meantime (with too large lfs_fhandle) continue to work.
This makes vfs_cleanerd work again after the kernel checks filehandle size
more strictly (problem reported by Kurt Schreiner on current-users).
2006-08-06 12:34:12 +00:00
skrll
f1c3aa8a63
Remove the SIOCSKILLFW define. It's not used anymore.
2006-08-06 07:31:32 +00:00
perseant
fb882cd53a
Ensure sector size is zero in the debug case, to avoid a division by zero
...
error pointed out by Zafer Aydogan.
2006-08-06 00:21:14 +00:00
perseant
f4bbda4f6c
Don't try to even fake building a filesystem on a file descriptor that is
...
neither a file nor a character special device.
2006-08-06 00:14:17 +00:00
bjh21
891d055e7c
Nothing in the tree pays any attention to "options NC" any more, so don't set
...
it.
2006-08-05 23:11:11 +00:00
bjh21
6e83f00384
The Hydra code should probably be removed, but until it is, it may as well
...
not generate spurious diffs in my tree, so bring it up to my working version.
2006-08-05 23:03:21 +00:00
bjh21
3c8394c448
Centralize the various checks for validity of a CPU context in one macro,
...
so we don't have to get it right in lots of different places.
2006-08-05 22:54:28 +00:00
bjh21
d97d9a1480
Xarm32VIDC has supported pckbd(4) for several releases now, so it's probably
...
safe to stop using rpckbd(4) in wscons configurations.
2006-08-05 22:33:44 +00:00
xtraeme
07e7c5a439
HPT368 support. Patch from Jonathan A. Kollasch via PR kern/34097.
...
Thanks.
2006-08-05 22:31:13 +00:00
bjh21
fc39059504
Clock frequencies tend to be big numbers -- use humanize_number() when
...
displaying them through printf.
2006-08-05 21:59:40 +00:00
sanjayl
265929b20e
1st cut of Powermac G5 support (uses bridge mode).
2006-08-05 21:26:48 +00:00
bjh21
69c3a7ed34
bcopy -> memcpy
...
bzero -> memset
2006-08-05 21:25:39 +00:00
bjh21
758ec34161
ANSIfy, un-__P, and generally KNF.
2006-08-05 18:22:57 +00:00
wiz
acffd648f6
Bump date for previous. Remove some Pp for consistency.
2006-08-05 18:18:37 +00:00
christos
e846b07c1f
Update for Greg Woods. Add new options and mention the bit values together
...
with the options
2006-08-05 17:58:53 +00:00
dyoung
50097c84af
Only install ipfilter, ipfs, ipmon, and ipnat if MKIPFILTER=no.
2006-08-05 17:26:14 +00:00
pavel
8bf13164fe
defflag PPPOE_SERVER and PPPOE_TERM_UNKNOWN_SESSIONS.
2006-08-05 17:20:54 +00:00
bjh21
21a0df473c
This file seems to be unused, left behind by the last I^2C overhaul.
...
Remove it.
2006-08-05 16:44:43 +00:00
bjh21
1426eb6e49
ANSIfy, un-__P, light KNF.
2006-08-05 16:38:57 +00:00
jmmv
dc6d1a3c9f
When using a development version of the system (be it current, a beta or
...
a release candidate), tell the user that he might expect problems and how
to effectively report them to the developers.
No objections in tech-userlevel@; only positive responses.
2006-08-05 13:07:30 +00:00
wiz
e95cae6b93
New sentence, new line. Use more markup.
...
Bump date for previous.
2006-08-04 23:30:53 +00:00
martin
915709d082
If user buffers do not match kernel buffers our kernel returns EINVAL,
...
not EIO.
2006-08-04 23:22:30 +00:00
martin
f1dc5b61db
Fix typo in comment
2006-08-04 23:18:53 +00:00
he
5ea0e70c68
Rearrange included headers and/or add include of <sys/types.h> and
...
<sys/lock.h>, so that the mipsco port can build again, ref.
http://mail-index.netbsd.org/port-mips/2006/08/04/0000.html
Reviewed by thorpej
2006-08-04 22:42:36 +00:00
jld
04316d3cd7
Remove inappropriate comma.
2006-08-04 20:55:45 +00:00
wiz
1763dd287c
New sentence, new line. Punctuation fixes.
2006-08-04 20:38:52 +00:00
rpaulo
073f7a97f3
Add missing information. Reviewed by Sam Leffer.
2006-08-04 20:32:47 +00:00
christos
8c4dec8fa5
don't call get/set progname when we are a shell built-in.
2006-08-04 19:07:55 +00:00
wiz
e7be999408
Fix typo in xref, remove superfluous space.
2006-08-04 17:08:52 +00:00
yamt
ac0b9042bb
sys___fhstatvfs140: update a comment.
2006-08-04 17:07:32 +00:00
yamt
0872061b2c
add missing const.
2006-08-04 17:06:56 +00:00
yamt
a4aecea36e
compat_30_sys_getfh: check the size of filehandle. remove an unnecessary cast.
2006-08-04 16:58:27 +00:00
yamt
273fdcedb9
whitespace.
2006-08-04 16:36:44 +00:00
yamt
6e8d813f5e
remove the support of variable-sized filehandle from compat version of
...
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
2006-08-04 16:30:22 +00:00
yamt
4977b4bbc0
some filehandle syscall related changes.
...
- remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
- unify vfs_copyinfh_alloc and vfs_copyinfh_alloc_size.
- vfs_copyinfh_alloc_size: check fhsize strictly.
- reduce code duplication between compat and current syscalls.
2006-08-04 16:29:51 +00:00
christos
c338573fdf
use getprogname() instead of argv[0], because some programs that execv, pass
...
the full path in argv[0] instead of just the basename. In reality, those
programs should be fixed (hello gdb for example).
2006-08-04 14:38:58 +00:00
yamt
e99f3cca81
vfs_copyinfh_alloc_size: fix indent.
2006-08-04 13:31:51 +00:00
martin
56a7b59bd8
Clarify netmask problem description. Repeat reference to PPPOE_SERVER
...
under options section.
2006-08-04 10:10:49 +00:00
mhitch
4b2f6edec3
gcc4 fixes: a lot of char * signed/unsigned mismatches.
2006-08-04 05:30:13 +00:00
mhitch
74f4d61b61
gcc4 fix: change a couple of volatile void functions.
2006-08-04 02:32:30 +00:00
mhitch
710f94acb4
gcc4 fix: needs string.h
2006-08-04 02:30:48 +00:00
mhitch
856bf4faf5
gcc4 fix: needs stdlib.h
2006-08-04 02:30:00 +00:00
mhitch
7e08a789a6
gcc4 fix: correct declaration of 'end'.
2006-08-04 02:26:49 +00:00
mhitch
1b474f00d6
gcc4 fix: change prototype and definition of volatile void usage().
2006-08-04 02:23:23 +00:00
mhitch
370e3a585e
gcc4 fix: need to cast string variable.
2006-08-04 02:21:19 +00:00
mhitch
8511e80fdb
gcc4 fix: gcc4 more strict on checking signed/unsigned.
2006-08-04 02:19:55 +00:00
mhitch
5a37c00320
gcc4 fix: gcc4 bug generates a label twice. This label can't be conveniently
...
ignored like bpendtsleep, but a clue from the commit skipping the bpendtsleep
label for vax provides a workaround. Move the label to an earlier location
and gcc4 only generates one label. The label just marks the start of
memory protected during a memory test, so excluding a little more memory
from that test should be fine.
2006-08-04 02:17:34 +00:00