Commit Graph

191332 Commits

Author SHA1 Message Date
wiz
90abead58e Fix typo in comment. 2010-06-06 00:00:33 +00:00
dholland
23beeb1a3b +t_sort 2010-06-05 22:39:18 +00:00
dholland
b324463ca0 Add a very basic test and some tests for the problem in PR 43358.
XXX: the sort tests in src/regress should be folded into this
2010-06-05 22:38:39 +00:00
jnemeth
c8bd5cbe3b The US formally left the Gold Standard in 1971, not 1933. See:
http://en.wikipedia.org/wiki/Nixon_Shock
2010-06-05 20:53:44 +00:00
dholland
fcf4d3f750 Rework previous change to fixit() to not trip on option arguments. (Noticed
by wiz.) Clarify the loop logic involved.
2010-06-05 17:46:08 +00:00
dholland
8696c1b71e fixit() needs to know the getopt options list to do its thing correctly. 2010-06-05 17:44:51 +00:00
jruoho
7b26e5d94f Remove also the debug-printf in case of long Stall() requests;
/*
	* sleep(9) isn't safe because AcpiOsStall may be called
	* with interrupt-disabled. (eg. by AcpiEnterSleepState)
	* we should watch out for long stall requests.
	*/

ACPICA has long printed a similar warning by itself. Moreover, this message
was never reached as the interpreter does not invoke AcpiOsStall() when a
delay longer than 255 usec is requested.
2010-06-05 16:57:48 +00:00
jruoho
3aca70d9a2 Remove the recently added warning about long Sleep() requests.
This is now in ACPICA (20100528):

	Added support to limit the maximum time for the ASL Sleep()
	operator. To prevent accidental deep sleeps, limit the maximum time
	that Sleep() will actually sleep. Configurable, the default maximum
	is two seconds. ACPICA bugzilla 854.
2010-06-05 16:47:49 +00:00
tnozaki
0ab294f640 remove unused magic. 2010-06-05 16:37:13 +00:00
jruoho
e42cf0f8ae Switch the third argument to the _DSW method from 3 to 0. This means that
devices should be placed in the D0 state ("fully on") after resume. We were
not prepared to handle the previous value as it implied that devices could
be placed in an arbitrary power state once in S0.

Minimal functional change, given that the _DSW is seldom seen in the field.
2010-06-05 15:47:59 +00:00
jruoho
1bfe5139f3 Complete the support for wakeup devices. As imposed by the standard, all
power resources should be turned on for wakeup devices. This follows common
sense: a device cannot wake if the power of it is turned off.

ok jmcneill@
2010-06-05 15:31:21 +00:00
lukem
f8daa4a728 In ftpvis(), prevent incomplete escape sequences at end of dst,
and ensure NUL-termination of dst.  Also tweak for readibility.
Fix from Uwe Stuehler and Stefan Sperling, via Marc Balmer.
2010-06-05 13:59:39 +00:00
jruoho
8e7819f753 Convert an aprint_error_dev() to ACPI_DEBUG_PRINT in acpi_power_set().
This "fixes" the issue observed by dyoung@. Since the AML may not keep any
state by itself, it is possible that the firmware tries to continuously put
a device into a power state where the device already is (e.g. D3 -> D3).

XXX: The code (like the old power resource code) rests on the assumption
     that it is possible to reliably obtain the power state of a device
     either directly via _PSC or indirectly via _STA. However, because there
     is some evidence that few broken systems implement these methods
     incorrectly (e.g. always returns D0 as a constant, even if the state
     would be D3 in reality), we may need to revisit this by always setting
     the power state, even if it is impossible to get the power state.
2010-06-05 07:59:13 +00:00
jruoho
1f4ce9efc5 Remove trailing white space. 2010-06-05 06:07:12 +00:00
dholland
2480682bb2 Avoid SIGSEGV on out-of-range time_t. 2010-06-05 03:24:01 +00:00
sjg
6d83722e40 PR: 39604
Reviewed by:

add_glob:
Do not stop scanning if we see '$' as it does more harm than good.
For $HOME/tm we should return $HOME/tm*
2010-06-05 03:02:37 +00:00
rmind
3c40b3a3ea kdtrace_{pro,thread}c_ctor: use kmem_zalloc(), instead of manual memset(). 2010-06-04 23:17:28 +00:00
rmind
189974619e proc_alloc: move kdtrace_proc_ctor() out of the proc_lock. 2010-06-04 23:02:18 +00:00
wiz
ee938d1113 New sentence, new line. Bump date for previous. 2010-06-04 21:53:36 +00:00
chs
56474d6551 fix some cosmetics. 2010-06-04 20:31:58 +00:00
joerg
3ace57c17b Add definitions for TOOL_MANDOC_* for standalone users. Requested by
dyoung.
2010-06-04 20:19:39 +00:00
dyoung
be53a6d9bb Collect garbage: sc_rbus_{iot,memt} are not used. 2010-06-04 19:27:12 +00:00
christos
520fd1e568 print human readable exit code. 2010-06-04 18:42:54 +00:00
christos
6583128e8d Add machine class manual paths. No manual pages have moved yet. 2010-06-04 18:42:32 +00:00
njoly
edf3b80fb4 Regen for pathconf/fpathconf rumpification. 2010-06-04 16:33:32 +00:00
njoly
fe0d8c08a5 Rumpify pathconf(2)/fpathconf(2)
ok from pooka@
2010-06-04 16:32:00 +00:00
jmmv
782d4e60b0 atf 0.9 includes a backwards incompatible change that requires rebuilding
the sh tests.  Add a note to tell users to clean up the old files, as
otherwise the rebuilds will not be triggered.
2010-06-04 15:11:31 +00:00
vanhu
a0bdaf1b16 Added support for spdupdate command in setkey 2010-06-04 13:06:03 +00:00
ghen
895e51c7dc A suggestion from veego to fix it (taken from ../../include/fontsproto). 2010-06-04 10:22:25 +00:00
skrll
6f1dcd61d0 Misc KNF. 2010-06-04 09:25:18 +00:00
roy
143f38ced3 Import dhcpcd-5.2.4 2010-06-04 09:10:53 +00:00
roy
e0a4f5bfed Import dhcpcd-5.2.4 with the following changes:
* Fix crash when using clientid and the interface re-configures
* log the pid of dhcpcd
* Indicate server IP received message from even if server ID not
  present
* Fix crashes on IPv4LL failure and add more logging
2010-06-04 09:07:59 +00:00
jmmv
8add2114ad Note import of atf 0.9. 2010-06-04 08:40:24 +00:00
jmmv
6b84fb92ac atf-0.9 introduces an use.fs test-case property to allow tests to write to
their work directory.  The purpose is to be able to know which tests intend
to touch the file system and to allow a minor optimization in atf-run.

Define use.fs=true for all those tests requiring it.  (This highlights that
some tests currently require modifying the file system but conceptually
they shouldn't be... which leaves room for further improvements/cleanups
later :-)
2010-06-04 08:39:40 +00:00
jmmv
6bf7fc8927 Adjust file lists for atf-0.9. Most notably, some files are gone for good! 2010-06-04 08:37:09 +00:00
jmmv
b74ee5cefd Remove directories not required by atf-0.9 any more. 2010-06-04 08:35:35 +00:00
jmmv
727dd8cd9e Simplify build of shell-based test cases: atf-compile is gone. 2010-06-04 08:35:09 +00:00
jmmv
357bd260c3 Bye bye atf-compile, you won't be missed. 2010-06-04 08:34:35 +00:00
jmmv
bd35535074 Adjust reachover makefiles for atf 0.9. 2010-06-04 08:33:40 +00:00
jmmv
72b75bb2dc Fix import conflicts for atf 0.9. 2010-06-04 08:32:14 +00:00
jmmv
9b3149cc0b Import atf 0.9:
* Added atf-sh, an interpreter to process test programs written using
  the shell API. This is not really a shell interpreter by itself
  though: it is just a wrapper around the system shell that eases the
  loading of the necessary ATF libraries.

* Removed atf-compile in favour of atf-sh.

* Added the use.fs metadata property to test case, which is used to
  specify which test cases require file system access. This is to
  highlight dependencies on external resources more clearly and to speed
  up the execution of test suites by skipping the creation of many
  unnecessary work directories.

* Fixed test programs to get a sane default value for their source
  directory. This means that it should not be necessary any more to pass
  -s when running test programs that do not live in the current
  directory.

* Defining test case headers became optional. This is trivial to achieve
  in shell-based tests but a bit ugly in C and C++. In C, use the new
  ATF_TC_WITHOUT_HEAD macro to define the test case, and in C++ use
  ATF_TEST_CASE_WITHOUT_HEAD.
2010-06-04 08:23:34 +00:00
skrll
50cd7644e6 Remove unncessary cast. 2010-06-04 06:39:38 +00:00
skrll
7c33d11fea Change struct cpu_info layout to improve cache footprint. From OpenBSD. 2010-06-04 06:36:34 +00:00
kiyohara
a0143cae24 Fix sume bugs.
- Why +1 ?
  - mvidmac_dump_xoredesc() -> gtidmac_dump_xoredesc().
  - bitmask_snprintf() -> snprintb().
Support big endian machines with GTIDMAC_CCHR_ENDIAN_BE.
2010-06-04 06:31:50 +00:00
macallan
1960e8cdf1 make sure we pass a valid consdev pointer to the console keyboard so kbd
knows it's console and passes the right flags to wskbd, now the wskbd will
not drop off the mux when leaving event mode.
Symptoms: now the keyboard should no longer be dead when leaving X and there
          should be no more panics caused by it
I tested this on an SS5 and an SS20, may need some more attention and zs.c
sure could use some cleanup - there are a few differences to sparc64 that
really don't make much sense to me, like not passing console flags to zstty
which sparc64 does but sparc avoids, which caused this problem in the first
place.
2010-06-04 06:04:15 +00:00
jruoho
bb1d0e97b1 Fix .Xr; dirent(5) -> dirent(3). 2010-06-04 05:42:24 +00:00
skrll
c8bcfd484e Add a comment and check off in mmmmap. 2010-06-03 22:34:26 +00:00
ghen
30ff915334 Revert previous. 2010-06-03 20:48:48 +00:00
pooka
c91a51436f Don't use rumpuser_malloc() directly. 2010-06-03 19:36:21 +00:00
plunky
be3a3d34c5 apply build framework and config changes for pcc-100602, plus add a
prepare-import.sh script for future updates
2010-06-03 19:17:22 +00:00