Commit Graph

189746 Commits

Author SHA1 Message Date
tsutsui
9233a7ff42 Replace old MD sicallback functions with MI softint(9). 2010-04-12 13:05:25 +00:00
tsutsui
078ba9f9eb - more cosmetics
- use queue(3) macro properly
2010-04-12 12:43:39 +00:00
wiz
ff92840abc Remove superfluous word. 2010-04-12 12:41:36 +00:00
tsutsui
09adc53649 KNF and cosmetics. 2010-04-12 12:28:59 +00:00
jruoho
f900625cc5 Catch up with the sysctl-changes. 2010-04-12 12:21:17 +00:00
jruoho
42105e9f81 Rework the sysctl-support.
Changes:

	hw.wake			->	hw.acpi.wake
	hw.acpi.debug_layer	->	hw.acpi.debug.layer
	hw.acpi.debug_level	->	hw.acpi.debug.level

Additions:

	hw.acpi.stat.gpe	# Number of dispatched GPEs
	hw.acpi.stat.sci	# Number of SCI interrupts
	hw.acpi.stat.fixed	# Number of fixed events
	hw.acpi.stat.method	# Number of executed methods

ok jmcneill@
2010-04-12 12:14:26 +00:00
jruoho
8ad5a4d7de Update the event counters to 64-bit integers. 2010-04-12 12:04:54 +00:00
skrll
ea3fb23f81 Spello in comment. 2010-04-12 06:56:19 +00:00
jakllsch
e1ec199332 Add valz(4), a simple driver to handle the backlight keys on some
Toshiba laptops.  As of yet only tested on a Satellite A135-S4527.
2010-04-11 22:42:30 +00:00
wiz
d692f84d06 Sort options in SYNOPSIS (flags without arguments first). 2010-04-11 21:34:18 +00:00
wiz
64ce15555f Make ready for HTML output.
Add RCS Id.
2010-04-11 21:32:10 +00:00
wiz
c4f8f360fc New sentence, new line. Sort SEE ALSO.
Improve formatting of option list.
2010-04-11 21:29:37 +00:00
jakllsch
7aa5fe0b9b iasl may be MD, but its man page is MI.
(hi jruoho)
2010-04-11 17:23:10 +00:00
pooka
04c1597880 Add raw mode, which skips ASCII'ification and can be used if reading
structures from the kernel into debug program memory is desired.
2010-04-11 15:08:17 +00:00
drochner
8e8bf15598 add just as much "detach" code to keep the box from panicking on
removal of a USB "udl" device
(needs more work, but I got the hardware for a quick test only)
2010-04-11 14:04:10 +00:00
drochner
b151ad8164 regen 2010-04-11 13:58:30 +00:00
drochner
b099331df1 add the 19" Samsung display, make udl handle it 2010-04-11 13:57:22 +00:00
mlelstv
c243552ba3 The *_modcmd functions use the module name as prefix. 2010-04-11 10:26:25 +00:00
tsutsui
dc04f4f064 Fix botched logic in ipkdb part in rev 1.77 (KNF misc). 2010-04-11 09:58:36 +00:00
jruoho
56bdff1846 Use CTLTYPE_BOOL. 2010-04-11 09:52:09 +00:00
pooka
b8fa8ac521 Call putterattach in modcmd init. Fixes lockdebug panic. Disable
unload, since putterdetach() is not implemented (i.e. current
implementation of modcmd fini is flawed), and I don't plan to fix
that now.
2010-04-11 09:36:47 +00:00
jruoho
1863635681 Document "how-to override the DSDT" in the manual page instead of code. 2010-04-11 08:58:43 +00:00
pooka
c8360f5cc9 Instead of totally giving up, dump CTLTYPE_STRUCT as hex, much
like sysctl -x (but not fancy like -dosequis).
2010-04-11 08:30:17 +00:00
hannken
738a97ca87 Add -x option which allows to run `fsck_msdos -n' on a snapshot of
a live file system.

While here modify snap_open() to accept a character device as its
first arg and remove now unneeded get_snap_device().

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
2010-04-11 08:23:51 +00:00
jruoho
b8e3089560 Document the CTLTYPEs. In addition, split some paragraphs to make the page
less exhaustive to read.
2010-04-11 06:50:30 +00:00
pooka
024c6fe985 Make module name match MOUNT_NAME. Inspired by PR kern/43110. 2010-04-11 06:36:25 +00:00
pooka
344e2f2f16 Following nullfs, rename rumpfs_umapfs to rumpfs_umap to make the
basename the same as the kernel module (this too was in-tree only
for a little over a week with the old name).
2010-04-11 05:45:57 +00:00
jruoho
d9e2b65012 Use .Nm. 2010-04-11 05:40:16 +00:00
jakllsch
c9128dfbfd Install 'symbol' from font-adobe-(75|100)dpi.
Should fix some symbols in xcalc.

To do: transform these and other currently-installed-only-as-bdf fonts
to pcf.gz.
2010-04-11 02:41:38 +00:00
mrg
58487f743a avoid rbuf starvation. when grabbing a recieve buffer, if a local
4KB buffer isn't available, try to MEXTMALLOC() one.  only if both
of these fail to we abort the recieve operation.

based on a patch from Sverre Froyen <sverre@viewmark.com>, thanks!

tested by myself, sverre and jeremy reed.
2010-04-11 02:02:14 +00:00
mrg
665bf35b1e now that CTLTYPE_BOOL actually works, use it to export vm_page_zero_enable
as vm.idlezero in a way that actually works on big endian systems.
2010-04-11 01:53:03 +00:00
mrg
e00e7bd5c0 implement CTLTYPE_BOOL support. it was entirely missing. HI MATT! 2010-04-11 01:52:10 +00:00
mrg
18d175fa3c reject attempts to write CTLTYPE_BOOL nodes with a value other than 0 or 1. 2010-04-11 01:50:25 +00:00
pgoyette
730da12998 Use a typedef to define the prototype of the per-sensor callback.
Update manpage for the prototype, and fix a fubar'd Cross-reference.
2010-04-11 01:12:28 +00:00
jun
0870d1051c workaround for port-hpcmips/42934
"NetBSD/hpcmips can't boot after 5.99.23"
  adviced by Naoki Fukaumi on twitter.
2010-04-10 22:53:59 +00:00
pooka
b764352d60 Rename librumpfs_nullfs to librumpfs_null to make the basename the
same as with the kernel module (and hence MOUNT_NULL).

I added the old name to the obsolete list, but given that it was
in-tree for only a bit over a week, I'll remove the entries in a
few weeks.
2010-04-10 21:32:59 +00:00
wiz
8936a2b72c Mark up NULL with Dv. 2010-04-10 21:10:10 +00:00
pooka
eb4243508b i386/vald: gone but not forgotten 2010-04-10 20:52:14 +00:00
njoly
722e093359 Add missing double quote. 2010-04-10 20:19:40 +00:00
pooka
cfff0936d1 regen: remove unused vdesc_transports 2010-04-10 19:44:02 +00:00
pooka
790df5ab8d "Not yet" since 4.4BSD is quite a lot of "not yet", so remove
vdesc_transports from vnodeop_desc until we have a "not not yet"
situation.

Ride 5.99.27 bump (full build still in progress.  i wanted to get
this in as soon as possible to most effectively ride the bump.)
2010-04-10 19:41:54 +00:00
pgoyette
23d2828220 Welcome to 5.99.27 2010-04-10 19:04:59 +00:00
pgoyette
fd12662344 Update for recent changes. 2010-04-10 19:03:56 +00:00
pgoyette
0321f1cd9a Save initial, boot-time limit values, and restore them upon request
from sysmon_envsys(9).
2010-04-10 19:02:39 +00:00
pgoyette
d8f35b6e65 When removing sensor properties with envstat -S, ensure that drivers
which could have modified hardware state are informed so that original
state can be restored.

Welcome to 5.99.27
2010-04-10 19:01:00 +00:00
jruoho
403b8820f1 Remove unnecessary casts. 2010-04-10 18:32:13 +00:00
jld
06c3397342 Change the nullfs module's actual name to "null", to match the name
it's installed under and the name of the filesystem.

Fixes PR kern/43110.
2010-04-10 18:14:54 +00:00
tsutsui
7288813c34 Always schedule callback functions via add_sicallback(),
which calls softint_schedule(9).

We cannot use BASEPRI() to check recursive calls any longer
since softint(9) has been reorganized to use kernel thread.
2010-04-10 18:02:05 +00:00
jruoho
039f34b662 Move vald(4) to sys/dev/acpi. This is MI and should work also on amd64.
ok jmcneill@

XXX:    This is broken: it calls methods with absolute pathnames (almost
        guaranteed not to be portable across models), it accesses methods
        that are in the domain of other drivers, it walks the namespace on
        its own, it contains plenty of magic constants, it does not
        integrate with existing KPIs, etc. Summa summarum: this should be
        rewritten as a more generic toshiba_acpi(4).
2010-04-10 17:55:24 +00:00
tsutsui
1ecf20919a Comment out currently unused mbprint(). 2010-04-10 17:40:36 +00:00