Commit Graph

167552 Commits

Author SHA1 Message Date
drochner
b0666c0ebd install pmmintrin.h for SSE3 2008-02-26 10:55:49 +00:00
mellon
3265aaf1d6 Get rid of a spurious dereference in DHCPRELEASE. 2008-02-26 05:03:29 +00:00
lukem
21130793da Convert a simple tbl(1) table (which wasn't being formatted)
into a .Bl -tag.
2008-02-26 04:50:02 +00:00
lukem
ab42b1842c Various groff manual pages need tbl(1) to format correctly. 2008-02-26 03:20:07 +00:00
lukem
5c77352330 Fix a groff warning.
Whilst here, improve the markup somewhat.
2008-02-26 00:09:38 +00:00
lukem
a98f1bcdff Describe 'bool'. Update 'list'.
Inspired by FreeBSD.

Note: we could seek more inspiration from FreeBSD WRT login.conf(5)
and login_cap(3)'s implementation.
2008-02-25 23:52:48 +00:00
martin
bc6c1c587e Add a hack to deal with hardware that misses the machine's serial number
for whatever reason - just generate a MAC address from another environemt
variable, so that the admin can adjust it.
2008-02-25 22:49:20 +00:00
xtraeme
aa8d8c1a0f Mention that bio(4) first appeared on NetBSD 4.0 too. 2008-02-25 22:18:31 +00:00
tron
5acd6cb052 Don't try to shutdown amd(8) gracefully. It seems to cause problems for
more people than the old (also broken) behavior. This fixes PR bin/36506
and PR bin/38103.
2008-02-25 22:12:42 +00:00
xtraeme
91a508cbf7 Apply some KNF to this driver and do some random changes as well:
- Change malloc + memset(blah, 0, ...)  to malloc with M_ZERO.
- The adapt_ioctl assigned was returning ENOTTY, so there's no point
  on having it.
- Static'ify.

I believe there are some paths on this driver where the splbio()s
are not needed, but can't test to verify...
2008-02-25 21:22:32 +00:00
manu
5ae99b01fd Missing entries for last changes 2008-02-25 20:14:05 +00:00
manu
6ee9ace370 From Brian Haley <brian.haley@hp.com>
There's a cut/paste error in cmp_aproppair_i(), it's supposed to be
checking spi_size but it's not.  I'm not sure this patch is correct, but
what's there isn't either.
2008-02-25 20:06:55 +00:00
matt
652f27646d Convert to prototypes, de'__P, use device_private, switch to aprint_*,
make things static, and some minor constification.
2008-02-25 19:22:39 +00:00
ad
e73d7a75d0 Bump OPEN_MAX from 64 to 128. No objection on tech-kern@. 2008-02-25 17:29:13 +00:00
xtraeme
1ce5670d7f Add a note about the convention that should be used when adding
items to that file. Grammar review by mjf@.
2008-02-25 16:39:34 +00:00
xtraeme
9d1e610027 Fix date format for the iwn(4) entry added by ober@. 2008-02-25 16:09:25 +00:00
tsutsui
5d07958fe3 Fix typo in comment. 2008-02-25 15:33:20 +00:00
xtraeme
c3e906d7a0 There's no need to do the mutex_trylock dance anymore in __cxa_finalize(),
just using mutex_lock() is enough.
2008-02-25 14:35:54 +00:00
xtraeme
1b5143aa5d Add a comment for __libc_atexit_init() missed in previous that was
available in the original patch.
2008-02-25 14:15:10 +00:00
xtraeme
95157b046e Make the atexit mutex recursive and initialize it in __libc_init()
as suggested by ad@, based on the patch provided by Sverre Froyen
in lib/37654.

Reviewed by ad@ and jmcneill@.
2008-02-25 14:06:13 +00:00
yamt
8b793ad476 nanosleep1: handle kpause spontaneous wakeups. 2008-02-25 12:25:03 +00:00
tnn
005d8bc4e5 Note that db4 was borged by Oracle and that the upstream version is 4.6.21. 2008-02-25 12:22:34 +00:00
elad
58816354da Add "the other" BFKL, from blymn@. :) 2008-02-25 12:20:42 +00:00
apb
56467d7fb7 * Installing as non-root is a bad idea. Print a warning in expert mode,
or bomb in non-expert mode.
* If a previous build.sh run with the -U (unprivileged) flag created a
  METALOG, then subsequent build.sh runs must also specify the -U flag.
  In expert mode, this is just a warning.
* While I was here, changed spaces to tabs in one existing line.
2008-02-25 11:14:31 +00:00
xtraeme
61541ecd71 Fix date format in a previous entry added by garbled@. 2008-02-25 10:51:21 +00:00
xtraeme
54880c4f00 Added support for the mfi(4) controllers with powerpc IOPs such as
LSI SAS1078 or Dell PERC 6, from OpenBSD.

Tested by Akira Kato on current-users@.
2008-02-25 10:46:02 +00:00
xtraeme
0554960b0b Do not attach on Symbios SAS1078, doesn't work and it will be matched
soon by the mfi(4) driver.
2008-02-25 10:38:39 +00:00
nakayama
a98d88fa7b process_read_fpregs(), process_write_fpregs():
- move common code before checking 32-bit mode or 64-bit mode.

process_read_fpregs(), netbsd32_process_read_fpregs():
- copy out %fsr.

process_write_fpregs():
- don't copy in fregs if l->l_md.md_fpstate == NULL.
2008-02-25 10:00:45 +00:00
nakayama
119e34ec59 Fix macro to convert CCR field between PSR and TSTATE.
CCR filed in PSR starts from bit 20, not from bit 19.
2008-02-25 09:51:38 +00:00
dholland
a84c07271f This code was not compiling on amd64 (is there any reason, beyond lack
of demand, that it's not MI?) and it shouldn't have been compiling on
sh3 either, because it was passing int * to size_t *. I have fixed
this up.

Compile-tested, and looked at by uebayasi@.
2008-02-25 08:31:00 +00:00
dogcow
ae1faa8ff4 we need I32_bit, so #include <arm/armreg.h> 2008-02-25 06:32:29 +00:00
matt
5823597dfd Since we say the kernel is C99, add -std=gnu99 to COPTS 2008-02-25 05:56:13 +00:00
dholland
974f37c3af typo patrol 2008-02-24 23:16:24 +00:00
dholland
933ac46844 signal.h is not supposed to define errno, so use ___errno instead.
Adjust errno.h in a compatible fashion to avoid -Wredundant-decls issues.
I have run a build to check the tree for places where errno.h is missing,
and fixed the cases I found, but there might be more in MD code.
2008-02-24 23:01:19 +00:00
christos
972b0b15b4 doecument that we now can return eagain. 2008-02-24 21:55:45 +00:00
christos
3aa2f8095e Check for number of processes resource violation in execve(). 2008-02-24 21:46:04 +00:00
christos
d90e9f98a8 Don't return 0 if the count is not changed in chgproccnt()! 2008-02-24 21:44:51 +00:00
dholland
936ebf85ff use errno.h, not sys/errno.h 2008-02-24 21:37:47 +00:00
dholland
09391c117a This file requires errno.h 2008-02-24 21:10:02 +00:00
matt
95dedd171d no need to include opt_irqstats.h 2008-02-24 20:51:52 +00:00
matt
ccf3fcac58 allow arm11 to use high vectors. 2008-02-24 20:50:38 +00:00
joerg
932c7ae27a Kill pre-4.4BSD compat code. 2008-02-24 20:42:46 +00:00
rafal
ba7873b58d Add TRIPPLITE2 UPS into the list of devices ignored by uhid(4) -- the UPS
software apparently wants to drive it as a ugen(4) instead.
2008-02-24 20:25:13 +00:00
rafal
570306d6b7 Regen for addition of TRIPPLITE2 UPS. 2008-02-24 20:23:38 +00:00
rafal
c99a7eb6d3 Add another vendor ID for Tripp Lite and product entry for their USB UPS
interface (it appears to be a generic product ID, rather than per-model).
2008-02-24 20:22:06 +00:00
dholland
988d859140 This file requires errno.h 2008-02-24 20:11:59 +00:00
dholland
68911b1cc8 This file requires errno.h 2008-02-24 19:31:30 +00:00
dholland
cb572b466d This file requires errno.h 2008-02-24 19:17:57 +00:00
christos
dd771215eb PR/38094: Robert Millan: support "BIOS Boot" partition type in gpt(8) 2008-02-24 18:38:10 +00:00
dsl
5546b33571 Set p->p_trace_enabled in fork and whenever the controlling falgs change
instead of doing it in syscall_intern().
Note that syscall_intern() must still be called when the flags change
since many ports use a different copy of the syscall entry code when
tracing is enabled.
2008-02-24 18:30:07 +00:00