Commit Graph

182231 Commits

Author SHA1 Message Date
apb
4259cd2ab8 Delete unused static smatch() function.
Inspired by PR 41255 from Kurt Lidl (which used #if 0 instead of
deleting the function).
2009-07-14 21:05:34 +00:00
apb
d47a5ef0ce Compare strings with strcmp(), not ==.
Part of PR 41255 from Kurt Lidl.
2009-07-14 21:02:24 +00:00
apb
559e6ded07 Mark rumpuser_thread_exit() as __dead, to match its prototype.
Part of PR 41255 from Kurt Lidl.
2009-07-14 21:00:53 +00:00
apb
72648fe99b Use pid_t, not short, for a pid.
Part of PR 41255 from Kurt Lidl.
2009-07-14 20:59:54 +00:00
apb
dfcfba79d8 Convert free text inside #ifdef to a proper comment.
Inspired by PR 41255 from Kurt Lidl.
2009-07-14 20:59:00 +00:00
apb
36bad35673 Enclose the argument to #error in quotes, to protect an embedded single
quote.  Part of PR 41255 from Kurt Lidl.
2009-07-14 20:57:22 +00:00
apb
97f740f02b Add missing close quote in a usually-unreached part of an #if block.
Part of PR 41255 from Kurt Lidl.
2009-07-14 20:56:12 +00:00
apb
87c0c2be33 Add missing va_start before varargs processing.
Part of PR 41255 from Kurt Lidl.
2009-07-14 20:54:25 +00:00
macallan
e06eca8326 nuke PCI_ALLOW_MMAP, instead allow mmap(/dev/pci*) with options INSECURE
now the x86 camp should be happy again
2009-07-14 19:54:40 +00:00
joerg
07c495396f Fix markup. 2009-07-14 18:56:14 +00:00
roy
6c5916565e Allow a buffer of SSIZE_MAX + 1 as the returned bytes do not include the NULL. 2009-07-14 18:29:41 +00:00
dyoung
8242de313f Mention cpu_reboot(9) changes. 2009-07-14 18:25:54 +00:00
christos
cfef64a1a4 pass lint 2009-07-14 17:04:32 +00:00
tsutsui
46133c54ef Add a workaround for some traditional ports (amiga and atari):
- Defer callout_setfunc() call after config_init() call in configure().

Fixes silent hang before consinit() at least on atari.

These traditional ports use config(9) structures and
autoconf(9) functions to detect console devices, and
config_init() is called at very early stage at boot
where mutex(9) is not ready.

Actually config_init() has been split out from configure()
for these ports:
http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/kern/subr_autoconf.c#rev1.74
while x68k has been fixed properly:
http://mail-index.NetBSD.org/source-changes/2009/01/17/msg215673.html

See also:
http://mail-index.NetBSD.org/port-x68k/2008/12/31/msg000006.html
http://mail-index.NetBSD.org/port-atari/2009/07/03/msg000419.html
2009-07-14 13:24:00 +00:00
wiz
c267463d84 New sentence, new line; remove trailing whitespace. 2009-07-14 08:24:15 +00:00
wiz
3ac668392a Add getline and getdelim html pages. 2009-07-14 08:01:02 +00:00
dholland
b7c32656db Fix typo; also do some minor wording adjustments nearby. 2009-07-14 07:43:16 +00:00
roy
4fb7349d52 Add who and date to getdelim(3) and getline(3) additions. 2009-07-14 05:58:15 +00:00
msaitoh
37cdac2fa8 Some fixes for i80003 and ICH{8,9,10} from e1000 driver and document:
Add setting for KABGTXD register for ICH{8,9,10}.

    ICH9 and ICH10 has no FCAL, FCAH and FCT like ICH8.

    Add special setting for FCTTV and TCTL_EXT register for i80003

    The special setting for TIPG is only for i80003.

    Some of kumeran settings are only for i80003's bugs.

    Add some ICH10 fixes.
2009-07-14 00:00:44 +00:00
msaitoh
234fc6cd53 Check PCI-X mode as e1000 driver. 2009-07-13 23:31:19 +00:00
wiz
9400935da7 Fix typo added in previous. 2009-07-13 22:31:59 +00:00
wiz
06601ed792 The character is NUL, the pointer is NULL.
Fix a typo.
It's \-1, not -1.
Add "and getline" in a few places.
Add comma in enumeration.
No dot needed in SEE ALSO.
End sentence with a dot.
2009-07-13 22:30:52 +00:00
roy
04bbd254eb Add getdelim(3) and getlime(3) 2009-07-13 22:25:30 +00:00
roy
d4a3cf6a5a Add implementations for getdelim(3) and getline(3). 2009-07-13 22:19:24 +00:00
christos
585ce9eda6 move _KMEMUSER higher! 2009-07-13 21:44:32 +00:00
christos
d96e875904 need _KMEMUSER too. 2009-07-13 21:43:24 +00:00
roy
7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
reinoud
ac5082b991 Remove the comment on disc space accounting from the bugs section; it has been
fixed.
2009-07-13 17:58:10 +00:00
christos
f73facbc14 sys/mqueue.h needs sys/types.h now 2009-07-13 17:57:35 +00:00
reinoud
d6f8738264 Pretty print comment adaptions for UDF and EFS so they line up nicely again. 2009-07-13 15:40:44 +00:00
kiyohara
f68c771081 com@acpi supports memory space.
It tested on HP zx6000(ia64).
2009-07-13 12:57:04 +00:00
kiyohara
e14284f196 ACPI resource supports Extended IRQ From FreeBSD. 2009-07-13 12:55:21 +00:00
kiyohara
e2c231dbe4 Support UCB1400.
It tested on GUMSTIX with audiostix.  However GUMSTIX needs more ad-hoc patch.
2009-07-13 12:54:11 +00:00
wiz
f3f83d5a32 Remove incorrect semicolon at the end of an if-statement.
From OpenBSD via Henning Petersen in PR 41708.
2009-07-13 08:35:24 +00:00
rmind
94cea1184f Regression test for POSIX message queue priority handling. 2009-07-13 02:55:42 +00:00
rmind
f80b636295 Re-enable direct I/O for pipe:
- Larger writes (2 or more pages) will use emap.
- Might help to catch rare hang (some very old bug).
2009-07-13 02:49:08 +00:00
rmind
7e069f82fb - Make insertion to message queue O(1) by using bitmap and array. However,
mq_prio_max is dynamic, and sorted list is used for custom setup, when
  user manually sets higher priority range.
- Cache mq->mq_attrib in some places.  Change msg_ptr type to uint8_t.
- Update copyright, misc.
2009-07-13 02:37:12 +00:00
rmind
b83b94a98e mq_send/mq_receive: while permission may allow that, return EBADF if sending
to read-only queue, or receiving from write-only queue.

From Stathis Kamperis, thanks!
2009-07-13 00:41:08 +00:00
ahoka
e288bad006 Add missing C file and change version number to complete the last upgrade. 2009-07-12 23:49:49 +00:00
wiz
27f99b53d5 Add RCS Id. Fill in name in license. New sentence, new line.
Add comma in enumeration.
2009-07-12 23:14:06 +00:00
wiz
1a280fda0f Bump date for *chgat*. 2009-07-12 23:12:40 +00:00
dsl
5f3551c2f8 Add netbsd copyright.
Reorder a few instructions to interleave a dependency chain.
(I'm really not sure of the best order for those instructions!)
2009-07-12 21:24:21 +00:00
dsl
f9b60c2be5 Correct some comments 2009-07-12 21:00:54 +00:00
hubertf
ef944a027b regen 2009-07-12 14:17:18 +00:00
hubertf
c984b3031f s/reproducable/reproducible/, requested by salo@ 2009-07-12 14:16:36 +00:00
apb
7461501a27 Add "-M" flag to the mtree invocation in sanitise_METALOG. This should
avoid errors in cases where a build poduct changes type (e.g. a file
becomes a symlink) between one build with older sources and a subsequent
update build with newer sources.
2009-07-12 12:30:31 +00:00
hubertf
4a9658ee28 regen 2009-07-12 12:15:10 +00:00
hubertf
20a9c4e439 Add a keywords for people looking for reproducable (identical) builds. 2009-07-12 12:14:51 +00:00
wiz
57295b8d96 /usr/lib/i386/libbfd.a is built and installed, do not mark it as obsolete.
"obsolete" added in 1.46 without a particular reason, file is not obsolete in
md.sparc64.
2009-07-12 11:00:37 +00:00
joerg
5f6627fa61 mandoc(1): -width is redundant for a item list 2009-07-11 18:38:30 +00:00