jakllsch
18f1b5273b
Ignore scancodes E0 2A, E0 AA, E0 36, E0 B6 when decoding.
...
For the 10 keys on the editing keypad, these prefix/postfix
scancodes indicate the state of the Left Shift and Right Shift
keys and Num Lock indicator.
This change prevents a spurious WSCONS_EVENT_KEY_UP event upon
press as well as the corresponding WSCONS_EVENT_KEY_DOWN event
upon release.
2009-07-16 20:44:54 +00:00
jakllsch
4bdc2d7f77
Correctly bus_dmamap_sync() the transmit descriptors.
...
Previously the sync could run off the end and not sync
the beginning of the ring. Logic gleaned from if_nfe.
2009-07-16 20:14:17 +00:00
dyoung
bbc238f2cd
Let us detach & re-attach children of mfi0. Detach mfi0 at shutdown.
...
Detachment may fail after freeing some but not all resources, so
take care not to re-release any resource during detachment.
Tested on a Dell PowerEdge 1950.
2009-07-16 18:58:38 +00:00
dyoung
ebab3c38ca
device_t/softc split. Tested and shown to work on a Dell PowerEdge
...
1950.
2009-07-16 18:10:00 +00:00
christos
ba603ac79f
a little more diagnostic
2009-07-16 14:21:12 +00:00
christos
6a588dd8e6
handle protection fault properly.
2009-07-16 14:18:09 +00:00
yamt
805e61e887
draft-ietf-syslog-protocol-23 -> RFC 5424
2009-07-16 13:33:44 +00:00
yamt
d3f7e0ef11
update
2009-07-16 13:28:17 +00:00
tsutsui
78b680c5cf
Revert previous per comment from ad@ in PR 41668, which is no longer orphaned.
2009-07-16 10:43:22 +00:00
wiz
ce0cbbff10
New sentence, new line.
2009-07-16 07:31:48 +00:00
minskim
bc24900fc3
Note ip(4) changes.
2009-07-16 04:18:21 +00:00
minskim
ca28940e0e
Add the IP_RECVTTL option support.
...
If the IP_RECVTTL option is enabled on a SOCK_DGRAM socket, the
recvmsg(2) call will return the TTL of the received datagram. The
msg_control field in the msghdr structure points to a buffer that
contains a cmsghdr structure followed by the TTL value.
Modeled after FreeBSD implementation.
2009-07-16 04:09:51 +00:00
dyoung
c85f1bbee5
Try to detach ancestors (sd0 at scsibus0, scsibus0 at mfi0), first,
...
to avoid dangling references to envsys(4) sensors and such if
detaching the ancestors should fail.
2009-07-16 01:30:10 +00:00
dyoung
78500bdfd5
Add a rudimentary detachment hook for mfi(4).
2009-07-16 01:01:46 +00:00
rmind
569aa0de8b
Revert previous: disable direct I/O on pipe, it cought a problem with emap.
2009-07-15 21:09:41 +00:00
christos
6c781e23d6
use the proper structure to get interface data. We depend on having the
...
NetBSD-specific ZIFDATA call to do the selection of the ioctl style.
From Patrick Welche.
2009-07-15 18:05:17 +00:00
tsutsui
73cf34a890
Add MONOLITHIC kernel to i386 release binaries. PR#41668
2009-07-15 14:11:02 +00:00
joerg
86a313cf0e
.Xr takes exactly two arguments plus separators, so fix the use here.
2009-07-15 09:50:08 +00:00
wiz
0cb83a1a01
New sentence, new line. Add RCS Id. Make HTML-ready.
2009-07-14 21:40:02 +00:00
tls
44571ac47c
Clarify accf_http manual page per wiz's request.
2009-07-14 21:37:50 +00:00
apb
3ac228d1b2
Declare "com" as volatile in execute(), to make it safe to use
...
across setjmp/longjmp.
Inspired by PR 41255 from Kurt Lidl, but this change makes "com" a
volatile pointer to const non-volatile data, whereas the PR made it a
non-volatile pointer to const volatile data.
2009-07-14 21:15:48 +00:00
apb
0a2587be49
Initialise the "fork" local variable in hfslib_get_file_extents().
...
This variable was not actually used uninitialised, but some compilers
(e.g. gcc-4.3.3) warned that the variable might be used uninitialised.
Inspired by PR 41255 from Kurt Lidl.
2009-07-14 21:12:18 +00:00
apb
3e4a7fe1fe
Don't assume that two identical-looking string literals will have the
...
same address and will therefore be comparable with the == operator.
Instead, use a const variable.
Inspired by PR 41255 from Kurt Lidl.
2009-07-14 21:08:31 +00:00
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