Commit Graph

149590 Commits

Author SHA1 Message Date
manu
05c8a1b827 Add a new signature test for linux probe function. We look for a .debuglink
section, which is specific to the Linux dynamic interpeter (yes, Linux
can execute it as a stand alone program)
2006-08-07 14:19:57 +00:00
cube
f646b59f80 Add a regression test for PR#34111. 2006-08-07 12:05:06 +00:00
cube
71af9028c9 Check that the device is not a pseudo-device in deldev(), too (as in
deldevi()).

PR#34111 by jmmv@.
2006-08-07 12:03:32 +00:00
cube
bb041282a1 Correctly free freq_names and cstate.
XXX This code is bogus anyway.  Global variables vs. MP systems, anyone?
2006-08-07 11:39:30 +00:00
dyoung
08605a2dd4 Per lukem's request, revert previous change which skipped installation
of /etc/rc.d/ipfilter and family if MKIPFILTER=no.  As lukem points
out, skipping installation of etc/rc.d/ scripts is not inconsistent
with other optional components, such as pf, x11, etc.
2006-08-07 02:08:47 +00:00
mhitch
1d4e083680 gcc4 uninitialized variable. gcc3 apparently didn't catch this one. 2006-08-07 01:31:36 +00:00
wiz
8d3619d115 Bump date for previous. 2006-08-06 23:38:13 +00:00
dyoung
9dde08c82f Document -nocloning, -nocloned flags. Shift a couple of columns
right by a character width, to make room for the new flags.
2006-08-06 21:47:35 +00:00
xtraeme
421fdf2f64 Free freq_names if k[78]pnow_current_state is NULL, pointed out
by cube.
2006-08-06 18:21:32 +00:00
dyoung
cc94fcb6e9 Correct units on IEEE80211_RADIOTAP_DBM_ANTSIGNAL,
IEEE80211_RADIOTAP_DBM_ANTNOISE.
2006-08-06 17:52:17 +00:00
dyoung
2bc777d5d0 KNF err(3), errx(3) usage, indentation, braces. 2006-08-06 17:47:17 +00:00
dyoung
61dbc26298 Add route keywords -nocloned, -nocloning. 2006-08-06 17:44:56 +00:00
dyoung
0cf23243f9 Use ${SYSDIR}/arch/mips/ instead of ../mips/, which was fragile. 2006-08-06 17:22:47 +00:00
dyoung
bc21bda1c9 Make the 'tags' target work better: use ${SYSDIR}/arch/evbmips/
instead of ../evbmips/, which was pretty fragile.  Cope with long
argument lists using the echo ${args} | xargs ctags idiom used in
other architectures' tags target.
2006-08-06 17:21:58 +00:00
jmcneill
4b802ec0e1 PR/12843: Workaround for CS4280 on IBM ThinkPads. From Stephane Witzmann.
Note: This workaround conflicts with piixpm(4); you will need to disable
the piixpm driver if you need this fix.
2006-08-06 16:21:11 +00:00
xtraeme
e7d2347699 * Sync powernow_k7.c driver with OpenBSD, it seems to work much
better finding PST tables.
* Use functions defined in powernow_common.c to detect if the
  CPU can run powernow.
* Update the LKM with current code.
2006-08-06 16:05:07 +00:00
jmcneill
0eb9f3fd24 Regen. 2006-08-06 15:48:34 +00:00
jmcneill
5672a65632 Add entry for IBM ThinkPad audio. From Stephane Witzmann. 2006-08-06 15:48:12 +00:00
christos
dfb16d34c3 PR/34117: Takuya SHIOZAKI: enhancement for acpiapm(4)
- make sleep state corresponding to standby/suspend changeable by using sysctl,
- make sure to generate APM events appropriately.
- arrange the code for getting power status.
2006-08-06 15:47:51 +00:00
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