Commit Graph

189773 Commits

Author SHA1 Message Date
tsutsui
c72cdbc3b4 More KNF. 2010-04-09 16:30:15 +00:00
jruoho
468cbba563 Use ACPI_DEBUG_PRINT instead of a local DPRINTF. 2010-04-09 15:45:59 +00:00
ahoka
5b74e5d788 revert last change, amd64 doesnt have monolith so dont remove pad. 2010-04-09 14:37:57 +00:00
ahoka
42b95af124 Remove pad from GENERIC, add to MONOLITH, we have it as a module now. 2010-04-09 14:02:05 +00:00
ahoka
4a9711fd6e Connect the pad(4) kernel module to the build on i386 and amd64. 2010-04-09 13:49:12 +00:00
ahoka
07c8a4984d Makefile to build kernel module for pad. 2010-04-09 13:41:45 +00:00
ahoka
bc0cafe08f Add support to be built as a kernel module. 2010-04-09 13:39:17 +00:00
tsutsui
45c5a41969 Split device_t/softc. 2010-04-09 12:50:34 +00:00
tsutsui
3ae52b0ad3 Rename variables and members of softc for readability. 2010-04-09 12:38:48 +00:00
tsutsui
af7ec4ee38 Remove unnecessary volatile keyword against struct zschan.
(volatile against structure member is enough)
2010-04-09 12:34:25 +00:00
tsutsui
6cace5bc53 - misc KNF
- remove `register' keyword from variable declarations
2010-04-09 12:09:29 +00:00
njoly
cb925a949e Make lwp_ctl_alloc() return 0 instead of EINVAL, when lwpctl user
address already exists. This allow calling _lwp_ctl(2) more than once
on the same LWP.
2010-04-09 11:47:17 +00:00
nonaka
0dd8304ff9 fix build failure. 2010-04-09 11:38:10 +00:00
tsutsui
c28b217b41 Include ioconf.h for struct cfdriver. 2010-04-09 11:30:19 +00:00
tsutsui
649a24ad45 minor constify 2010-04-09 11:27:21 +00:00
tsutsui
ed0d3417a9 Make options SERCONSOLE (force serial console if DCD is detected)
patchable by binpatch(8) like:
---
# binpatch -s serconsole -r 0 /netbsd
serconsole(0x23bac4): 0x00000001 (1), at offset 0x23bb44 in /netbsd
new value: 0x00000000 (0)
#
---

May work around PR port-atari/39849
(netbsd-ATARITT kernel fails with serial port connected)
and some old TT030 with early revision boards.
2010-04-09 11:09:03 +00:00
tsutsui
f48349093a - split device_t/softc
- verbose output on attach as well as zs serial ports
2010-04-09 10:49:37 +00:00
nonaka
a314257ee8 Added 8110SBL support. 2010-04-09 10:40:59 +00:00
nonaka
38ac2371ac Added PCA9564 I2C Controller driver. 2010-04-09 10:09:49 +00:00
tsutsui
83f406edd9 Include ioconf.h for struct cfdriver. 2010-04-09 10:07:14 +00:00
tsutsui
e33bfc17ee Misc KNF. 2010-04-09 10:04:35 +00:00
hannken
9b0618f1e4 Add file system suspension support (vfs_suspend(9)) to msdosfs.
Reviewed by: Antti Kantee <pooka@netbsd.org>
2010-04-09 08:09:18 +00:00
jruoho
a57241d4f0 Fix a potential NULL pointer dereference. 2010-04-09 04:48:23 +00:00
bouyer
769c627b01 Fix crash in openssl (I suspect caused by malformed packets):
handshake_dgst[] may be used without being allocated, causing NULL
pointer dereference.
Fix by checking that handshake_dgst is not NULL before use.
Reported to openssl as ticket openssl.org #2214.
Fix tested on netbsd-5 by Luke Mewburn with apache, and by me with
freeradius (fixing segmentation fault in both cases).
2010-04-09 04:34:13 +00:00
jruoho
6a306d5969 Finally, add wmihp to the SYNOPSIS. Duh. 2010-04-08 18:31:53 +00:00
jruoho
fc48d50c00 Fix build failure noted by tnn@. 2010-04-08 18:20:46 +00:00
jruoho
fb2e2b446e Refer to the correct driver. 2010-04-08 18:11:20 +00:00
jruoho
32cb5c59b8 Note the conflict between wmihp(4) and hpqlb(4). 2010-04-08 17:53:42 +00:00
jruoho
9264326878 Add wmidell(4) and wmihp(4). 2010-04-08 17:50:34 +00:00
jruoho
dd9f9f5796 Add wmihp(4). 2010-04-08 17:44:22 +00:00
sjg
dc03377f35 Process .ERROR the same as .BEGIN, .END etc
so that it cannot be the default target.
Add unit-tests for .info - .error, and .ERROR.
2010-04-08 17:41:29 +00:00
jruoho
5a858cc492 Add WMI mappings for HP laptops. Requested by cegger@.
Thanks to apb@ and cegger@ for initial testing.

XXX: This conflicts with hpqlb(4). Someone with the suitable hardware needs
     to complete the list of hotkeys before -- and if -- this can replace
     hpqlb(4). For now, the driver was left uncommented in the GENERICs.
2010-04-08 17:32:30 +00:00
macallan
b7af30216a use a shadow framebuffer 2010-04-08 16:49:34 +00:00
macallan
8f881c7dd3 add support for shadow framebuffers
tested on sparc with a cg12
2010-04-08 16:45:53 +00:00
pooka
997a4cfc3c In genfs where available.
The only functional change is mknod now returning EOPNOTSUPP instead
of EINVAL.  I make this sacrifice willingly and with a clean conscience.
2010-04-08 16:04:35 +00:00
njoly
e05f3d58b2 Do not use 0 for pointers, but NULL. 2010-04-08 15:59:37 +00:00
pooka
1a992b2715 Call VOP_ABORTOP in genfs_eopnotsupp. This prevents file system
authors from having to get down on their knees and pray they won't
get POGA'd(*) again.

This plugs componentname leaks in at least smbfs and buggy puffs
servers (buggy servers shouldn't be able to leak kernel memory).

*) principle of greatest astonishment
2010-04-08 15:56:26 +00:00
pooka
ed7e284d5c Use genfs instead of homegrown stuff where possible. 2010-04-08 15:03:33 +00:00
jruoho
7a8e952232 Semantics. 2010-04-08 12:36:21 +00:00
jruoho
a913ee750d Move acpiwmi(4) to the "sys/dev/acpi/wmi" -subdirectory. 2010-04-08 12:14:19 +00:00
njoly
4f2ea8f3c9 Add a new clock_gettime1() function that holds most of the
clock_gettime syscall code (except for the copyout). Adjust all
corresponding syscalls to make use of it.
2010-04-08 11:51:13 +00:00
jruoho
ab88ce45ea Add a dummy acpi_wmi_event_deregister() to match existing conventions. 2010-04-08 10:33:13 +00:00
jruoho
8d0a2e3892 Add acpiwmi(4). 2010-04-08 10:06:25 +00:00
jruoho
496980a056 Add wmidell(4). 2010-04-08 09:45:17 +00:00
jruoho
d49fb742ce Include 'files.wmi'. 2010-04-08 09:36:03 +00:00
jruoho
d97f534eb9 Add WMI mappings for Dell laptops. Requested and tested by mrg@. 2010-04-08 09:35:15 +00:00
jruoho
531704d1c8 Emphasize the powerd(8) script and use .Tn for acronyms. 2010-04-08 08:42:40 +00:00
wiz
6997bed8b1 Fix typo reported by Ryo HAYASAKA in PR 43136. 2010-04-08 06:58:26 +00:00
jruoho
d59e2b7037 Note the import of ACPICA 20100121.
(The current version is 20100331, but it was too experimental.)
2010-04-08 05:13:52 +00:00
jruoho
230c5ee4c7 ACPICA 20091112:
Implemented a post-order callback to AcpiWalkNamespace. The existing
        interface only has a pre-order callback. This change adds an
        additional parameter for a post-order callback which will be more
        useful for bus scans.  ACPICA BZ 779. Lin Ming. Updated the ACPICA
        Programmer Reference.

We will use the old "pre-order callback" for the time being.
2010-04-08 04:40:51 +00:00