239862 Commits

Author SHA1 Message Date
mlelstv
178b4da6ee No longer detach opened device directly in RAIDFRAME_SHUTDOWN ioctl,
instead just mark the device for shutdown and detach on last close.

Also don't manually print the detached message but leave this to
config_detach(). This avoids a duplicate message when shutting down.
2016-01-02 16:20:50 +00:00
mlelstv
e7bab5c14b RAIDF_INITED state also includes disk attachments, don't undo operations
that haven't been committed.
2016-01-02 16:10:06 +00:00
mlelstv
3468e3dac4 Unlock and free in raid_detach to handle error paths. 2016-01-02 16:06:25 +00:00
mlelstv
6eec01b9bc use bdev_strategy wrapper to properly use KERNEL_LOCK. 2016-01-02 16:00:01 +00:00
pooka
419929ef27 create_many:
* add xfails for ext2 and udf
  * don't try to create a subdirectory for sysvbfs
2016-01-02 12:11:30 +00:00
jakllsch
aaf9a4516d Teach hid_parse_usage_in_page() how to understand hex literals, in
addition to the usual table lookup.
2016-01-02 01:24:44 +00:00
jakllsch
f5863ab3d2 Fix round-trip of hid_usage_in_page(hid_parse_usage_in_page()) when
the usage is a catch-all format string.

This should allow usbhidctl(1) to understand an item argument of
"Button:Button_65535".
2016-01-02 01:04:15 +00:00
jakllsch
f8f5861113 Rework unsigned range test cases.
If the USB HID 1.11 spec is interperted to the letter, there's no such
thing as a unsigned Logical/Physical Minimum/Maximum.  When the (signed)
Minimum is greater than the (signed) Maximum, it's a possibility that
the device is attempting to present unsigned report data.
2016-01-01 23:46:04 +00:00
jakllsch
c8b0c3452c Fix hid_get_data() for negative or 32-bit report data. 2016-01-01 22:59:12 +00:00
jakllsch
bc1f6fc421 value debugging for the Logical/Physical range checks 2016-01-01 22:47:34 +00:00
marty
aab26c1761 XU4 FDT pinctrl
Rewrite the use of pinctrl to reflect the new model from Jared.
2016-01-01 22:37:07 +00:00
marty
7e1b70cad6 FDT pinctl - review from Jared
These changes reflect a redesign based on a preliminary review by Jared.
Instead of the acquire/release/set/get approach of the original, this uses
a much simpler, and cleaner register/set approach.
2016-01-01 22:35:44 +00:00
jakllsch
3a26fec827 tests for libusbhid (many of which fail) 2016-01-01 21:38:53 +00:00
macallan
c8234e40d8 zero out struct i2cbus_attach_args and i2c_controller before messing with
them
2016-01-01 20:48:15 +00:00
jdc
80dd6a24cb Read the Tos limit from the chip, instead of assuming 80'C, in case
firmware has altered it.  Make the *decode functions return temperatures
in either uK or C for envsys and sysctl, respectively.
2016-01-01 20:13:50 +00:00
tls
e4dd39cedc Enable second noise source on newer VIA CPUs 2016-01-01 19:46:48 +00:00
jakllsch
f74c09dad4 Alphanumeric is spelled Alphanumeric 2016-01-01 19:14:45 +00:00
martin
31584ffedb KASSERT->KASSERTMSG to allow debugging a double-free'd buffer in ddb. 2016-01-01 18:58:58 +00:00
christos
9b4e848824 Add the pthread libraries, documented already in bsd.README; sort 2016-01-01 17:06:21 +00:00
tls
b8373ab831 Fix callout-skew source so it runs only when needed (remove second callout,
eliminate race).
2016-01-01 16:09:00 +00:00
pooka
10c4a4e077 use a shorter filename template in previous (for v7fs) 2016-01-01 15:18:39 +00:00
pooka
596d7c2283 Add a test which creates many directory entries. 2016-01-01 15:13:57 +00:00
jakllsch
f8ec6d43b4 compare pointer against NULL instead of 0 2015-12-31 20:35:21 +00:00
christos
3f38d7cad6 Move blacklistd later now that it depends on libpthread (From Rin Okuyama) 2015-12-31 20:11:32 +00:00
mrg
c662775e21 WELCOME 2016! 2015-12-31 15:23:07 +00:00
ryo
66f8646dd2 use armv7_generic_space 2015-12-31 12:14:01 +00:00
ryo
1fc390a6bc add support iMX6 uSDHC
- some UHS-I/SDR104 card are not stable
- eMMC doesn't work yet
2015-12-31 11:53:18 +00:00
dholland
bb7bd59051 Fix REL_CHECK error output; it had "expected" and "obtained" swapped.
While here, improve the general legibility of the printout. Not
actually relevant to PR 50574, but anyone looking at that should be
aware of this change.
2015-12-31 10:56:13 +00:00
dholland
4f3e8539c0 When computing relative months, use mktime() directly and don't call
our Convert(). And check it for failure. This fixes three sets of
problems:

  (1) depending on the passed-in value of Timezone it might
      disassemble the time in one timezone and reassemble it in
      another, causing mysterious offsets of a few hours;

  (2) with the previous set of changes to this file, Convert() fails
      if it ends up normalizing a date, so e.g. going three months
      forward from March 31 would fail;

  (3) previously if Convert() failed we passed -1 on to DSTcorrect(),
      which made a mess.

PR 50574.
2015-12-31 10:52:06 +00:00
dholland
2213a9c409 Always use localtime_r; I don't think any of this code is tripping
itself up, but it's still good practice for library functions to not
trash static libc state. Might be relevant to PR 50574.
2015-12-31 10:31:07 +00:00
wiz
d8834a4a1d tmux 2.1 is out. 2015-12-31 10:21:02 +00:00
dholland
6970e57cc6 When evaluated on a Sunday, "next Sunday" means 7 days in the future,
not 14. When evaluated on a Monday, it apparently means 13 days in the
future. There's not exactly a spec for parsedate.y, so conform to the
implementation.

PR 50574.

XXX: to me at least this is an odd notion of "next Sunday", but whatever...
2015-12-31 10:18:00 +00:00
dholland
9775679d6b Fix the "Tuesday midnight" test to match what parsedate.y does; in
particular it doesn't add a week if evaluating that on Wednesday.

Whether that's right is an open question, but there's not exactly a
spec for parsedate.y and there's no point having the test fail one
day in seven.

PR 50574.
2015-12-31 10:10:15 +00:00
dholland
4c7b8eec63 Reformat grammar part according to my standards for yacc grammars. 2015-12-31 09:12:57 +00:00
mrg
0841a79ea3 bump the version; we have real fixes now. 2015-12-31 04:58:43 +00:00
mrg
614a8b6713 redo the fix for rev 1.26 - instead of getting a new string wrong,
just delay the free until the parent has finished using them.
also, free query as well.

fixes PR#50374.
2015-12-31 04:39:16 +00:00
marty
2de605cb9d XU4 gpio - get rid of annoying printf 2015-12-31 03:50:34 +00:00
dholland
9dc9693718 Avoid leaking a file handle on error opening the next file. From
David Binderman in PR 50577.
2015-12-31 01:16:47 +00:00
christos
b357ba3056 We don't have RLIMIT_SWAP 2015-12-30 22:26:26 +00:00
christos
585297dcfb more robust ulimit test that works with most variants of bourne shells. 2015-12-30 22:24:44 +00:00
christos
6833b0c7c2 Print symbolically why the process exited. 2015-12-30 22:23:38 +00:00
christos
d182ef4fb3 Work around ksh bug 2015-12-30 22:23:02 +00:00
christos
2732a80b37 Add rnd ops. 2015-12-30 18:15:38 +00:00
christos
2c673a1b78 typo 2015-12-30 17:57:20 +00:00
wiz
b02bef0817 Fix xrefs. 2015-12-30 16:51:31 +00:00
plunky
ea8091c08e point to more information about clock_id 2015-12-30 16:47:24 +00:00
christos
13a9d5601a Add a mutex to prevent races during initialization code from multiple threads.
Found in named.
2015-12-30 16:42:48 +00:00
jdc
aa22af27ce Restrict the check for fully specified interrupts to machines with psycho
controllers only, and adjust comments to note this.

See also the mail thread starting at:
  http://mail-index.NetBSD.org/port-sparc64/2015/12/03/msg002488.html
2015-12-30 09:16:17 +00:00
marty
9c676a63b6 XU4 i2c, gpio & pinctrl changes
modify exynos_gpio.c to support the new pinctrl model.
set up the new pinctrl model in exynos_pinctrl.c

Flesh out exynos_i2c.c and set it up to use the new pinctrl model.  NOTE:
exynos_i2c.c is still incomplete.  I need to figure out what to set the
prescaler and scaler to.
2015-12-30 04:30:27 +00:00
marty
737457c0d3 FDT pinctrl
Add a pinctrl bus to FDT.  This works against exynos, but someone(tm) needs
to think about whether it is general enough or too specific to exynos.
2015-12-30 04:23:39 +00:00