Commit Graph

187755 Commits

Author SHA1 Message Date
martin 2a2c96609a Fix an outdated comment, noticed by Paul Goyette. 2010-01-31 22:53:56 +00:00
phx cc35ab39e9 New modifiers for the "write" command: /BHL. They act like /bhl but do not
read the old value from memory before writing.
2010-01-31 21:52:23 +00:00
martin 889f82dd49 Add a convenience function to find the maximum value currently reported
by a set (selected via a passed callback predicate) of sensors.
This provides an easy way to query the current temperature of a thermal
zone, for example, from within the kernel - assuming the caller knows
the topology.
2010-01-31 21:36:38 +00:00
wiz 4acfa334d0 Bump date for SEE ALSO change. 2010-01-31 21:25:51 +00:00
jruoho eb534fdc5d Do not advertise deprecated APIs in an important introductory manual page. 2010-01-31 21:21:13 +00:00
roy 83baecdba6 Import dhcpcd-5.1.5 2010-01-31 21:02:05 +00:00
roy afee245092 sync 2010-01-31 20:53:05 +00:00
roy a7622e5331 Import dhcpcd-5.1.5 with the following changes:
* -H, --xidhwaddr uses the last 4 bytes of the hardware address as
  the DHCP xid
* -J, --broadcast tells the DHCP server to broadcast replies
* no longer warn about InfiniBand being an unsupported family
* infinite lease times are valid when reading old leases
* discard address correctly if lease is invalid
2010-01-31 20:50:16 +00:00
jruoho b00d9a31ae Verify the object type before using variables from it.
In addition, use CTASSERT(9) instead of KASSERT(9).
2010-01-31 20:38:11 +00:00
phx 0d233c805b Fixed for amigappc by executing eieio after writing to a vga register. 2010-01-31 19:56:19 +00:00
jruoho d9203cb513 Add a detachment routine. 2010-01-31 19:49:29 +00:00
jruoho 166db9da2a Also remove the ACPI notify handler upon detach. 2010-01-31 18:51:33 +00:00
dyoung bcfb222fd8 Add the missing newline to a verbose autoconf message. 2010-01-31 18:12:51 +00:00
jruoho 2554187b97 Add a detachment routine. While here, clarify the initialization of sensors. 2010-01-31 17:53:31 +00:00
uebayasi 40b4d371a5 Ax uvm_fault_internal() & break it into functions. "Upper" fault and "lower"
fault routines are separated now.
2010-01-31 17:13:38 +00:00
mlelstv 0aef69272b Skip handling of APPLEUFS_LABEL if it is smaller than a device block.
In particular:

- newfs will not try to erase the label
- fsck_ffs will not try to validate the label

This lets newfs and fsck work on 2048-byte-per-sector media.

Does Apple UFS support such media and how?
2010-01-31 16:04:34 +00:00
mlelstv d2fd323d98 Properly register blocksize with disk(9) framework. 2010-01-31 15:40:08 +00:00
pooka 6c9f003a76 Include newly-created subr_device.c and remove few special case
device accessor copypastes.  This makes it possible to link static
binaries which use -lrumpdev.
2010-01-31 15:12:42 +00:00
pooka 0f9bb09e12 Device accessors are only marginally related to autoconf, so put them
into subr_device.c instead of having them in subr_autoconf.c.

Since none of the copyrights in subr_autoconf.c really match the
history of device accessors, I took the liberty of slapping (c)
2006 TNF onto subr_device.c.
2010-01-31 15:10:11 +00:00
wiz a62f6ec261 Use full month name in Dd. 2010-01-31 15:05:49 +00:00
wiz 5a94f1ec05 Bump date for new debug section.
New sentence, new line.
Remove Pp after section begin.
2010-01-31 15:05:20 +00:00
hubertf 827a5e73da Fix two typos to make documentation match the code:
* the CIOCFKEY ioctl is really called CIOCKEY
 * CRK_MOD_EX => CRK_MOD_EXP

Bump date.
2010-01-31 14:43:04 +00:00
hubertf 0579eb13de Add missing "break" for CRYPTO_CAST_CBC, and some assorted comment fixes.
openssl(1) checks for CAST (and others) on ~every startup.
2010-01-31 14:32:56 +00:00
mlelstv 10019347da filesystems now use getdisksize() which is in librumpdev_disk. 2010-01-31 14:30:22 +00:00
pooka 1fe7a9e1bb If RUMP_BLKSECTSHIFT is set in the environment, use that as
device sector size instead of DEV_BSHIFT.
2010-01-31 13:15:08 +00:00
jruoho 084261a156 Remove ACPICA_PEDANTIC. 2010-01-31 12:20:22 +00:00
jruoho a11a4a9023 Remove ACPICA_PEDANTIC. Appears to be no longer in use. 2010-01-31 12:14:45 +00:00
jruoho 9703b2e495 Miscellaneous small changes:
* Use -compact to make the page a little shorter.
        * Capitalize the title in the sysctl-section.
        * Use .Ic for the sysctl variables.
        * Remove ACPICA_PEDANTIC; no such option any more.
2010-01-31 12:07:37 +00:00
skrll e975ed8767 1 CTASSERT(foo) is enough for anyone. 2010-01-31 11:54:32 +00:00
mlelstv 9c35c3d3a7 Release buffer in case a receive failed. 2010-01-31 11:39:55 +00:00
jruoho 993abc958b Add a short introduction to ACPI debugging. 2010-01-31 11:29:31 +00:00
jruoho 4cd0ccf8ab Add dynamic debug options for ACPI_DEBUG kernels.
ok jmcneill@, pooka@, pgoyette@
2010-01-31 11:26:20 +00:00
jruoho 532fa6e528 No more ACPI_ACAD_DEBUG. 2010-01-31 11:19:40 +00:00
jruoho d9ca089d6e Simplify and clean:
* Semantics.
        * Remove ACPI_ACAD_DEBUG.
        * Reduce the amount of error reporting.
        * Remove the internal bookkeeping flags and variables;
          instead operate only with a single state variable.
        * Trust that the notify handler is doing its job;
          remove the refresh routine from the sensor.
        * Queue a status check upon resume; we want to know
          if the status has changed when in suspend (and it
          is unclear if a notify is sent to us).
2010-01-31 11:16:18 +00:00
mlelstv 748a0d77b1 Fix block shift to work with different device block sizes.
Unlike other filesystems this has some side issues because
the shift values are stored in the superblock and because
userland utitlies share the same fsbtodb macros.

-> the kernel now ignores the value stored in the superblock.
-> the macro adaption is only done for defined(_KERNEL) code.
2010-01-31 10:54:10 +00:00
mlelstv 5e340cd634 Replace individual queries for partition information with
new helper function.
2010-01-31 10:50:23 +00:00
mlelstv 928ded5f56 Fix block shift to work with different device block sizes. 2010-01-31 10:37:57 +00:00
mlelstv ba0d32752c Replace individual queries for partition information with
new helper function.
2010-01-31 10:30:40 +00:00
martin 476c17bc5a This is using device_t, so it needs to include <sys/device.h>. 2010-01-31 09:27:40 +00:00
uebayasi 2359fa84f6 uvm_fault_internal:
Move local variables around to isolate contexts.  Note that remaining variables
are global in that function, and some hold state across re-fault.

Slilently clean-up the "eoff" mess.

(Superfluous braces will go once things settle down.)
2010-01-31 09:20:31 +00:00
uebayasi fd3f38bda1 Indent. 2010-01-31 07:47:29 +00:00
uebayasi 3f944b46d0 uvm_fault_internal: In lower fault handling case, put another goto to clarify
that we don't care lower neighboring pages for the zero-fill object.
2010-01-31 07:46:03 +00:00
uebayasi 19311f603b uvm_fault_internal: Skip another long code segment (lower "neighbor" fault)
by a goto.
2010-01-31 07:37:24 +00:00
jruoho 6c41d7d7a2 Add detachment routine. 2010-01-31 07:34:10 +00:00
uebayasi 51af955674 uvm_fault_internal: Put a goto label "Case1" as well as "Case2". Clarify
that if the faulting page is shadowed, we don't care the lower layer at all.
2010-01-31 07:32:35 +00:00
jruoho baf97f9356 Allocate the sensor structures dynamically. 2010-01-31 06:45:09 +00:00
jruoho 1aca5372db Add detachment routines. 2010-01-31 06:10:53 +00:00
pooka 8288b650e5 uncommit part which wasn't supposed to get committed yet 2010-01-31 03:57:01 +00:00
pooka d5352760af Add an example on how to use sysmon watchdogs in rump. 2010-01-31 03:11:55 +00:00
pooka ce0b07ef94 Add rump sysmon component to devlists. 2010-01-31 03:09:26 +00:00