253309 Commits

Author SHA1 Message Date
wiz
5a0ec9c8ab Remove scc(4), driver was replaced by zs(4).
Fixes PR 52539 by Miod Vallat.
2017-09-12 14:52:02 +00:00
wiz
cf9630d8ae Remove scc(4) reference, driver was replaced by zs. PR 52539.
New sentence, new line.
2017-09-12 14:48:44 +00:00
wiz
0b69da803e Remove scc(4) reference, driver was replaced by this one. PR 52539.
Remove .Tn while here.
2017-09-12 14:48:11 +00:00
gson
9eaf8aa9ad Don't use a const variable as an array size, because it is not a
constant expression and will cause the array to needlessly become a
variable-size one.  Fixes "error: stack protector not protecting local
variables: variable length buffer [-Werror=stack-protector]" when
building i386 with MKDEBUG=YES -V COPTS="-g".
2017-09-12 14:10:49 +00:00
jmcneill
20fc9fd202 For SD cards, send the SET_WR_BLK_ERASE_COUNT app command before a
multi-block write to improve write performance.
2017-09-12 13:43:37 +00:00
jmcneill
317b609ad0 Fix non-MULTIPROCESSOR builds 2017-09-12 10:46:33 +00:00
msaitoh
a6cefc3531 itesio(4) Add IT8628E, IT8728F and IT877[12]E support. 2017-09-12 10:05:37 +00:00
msaitoh
6c6661e72c Add IT8728F and IT877[12]E. 2017-09-12 09:54:45 +00:00
he
b7a909847c Replicate fix from the old gcc.old: alpha.d needs pass-instances.def. 2017-09-12 09:25:24 +00:00
msaitoh
a57072c6d2 Set ci->ci_cflush_lsize correctly. This bug was added in the last commit(1.56). 2017-09-12 07:19:36 +00:00
msaitoh
449d087742 Fix panic caused by rev. 1.58's change. Don't if_start from interrupt context.
The restart code exists in ixv_handle_que().
2017-09-12 05:28:31 +00:00
mrg
49b1b3c8d1 minor KNF. 2017-09-12 01:01:25 +00:00
jmcneill
5fdac65bd7 Add support for sun50i new timing mode and calibration. 2017-09-11 22:00:05 +00:00
jun
ccb802caeb Add local patches to sun8i-h3-orangepi-one to enable HDMI support. 2017-09-11 20:44:14 +00:00
palle
f924956af1 sun4v: Update code to retrieve CPU clock frequency so it can handle (future?) CPU clock frequencies above the 32-bit limit. ok mrg@ 2017-09-11 19:25:07 +00:00
gson
0eb663cba7 Clear the screen after running installboot. If we don't, there will
be a leftover line saying "Status: Finished" at the top of the next
screen, along with some random punctuation in the left and right
margins.  Inspired by ../landisk/md.c 1.3.
2017-09-11 15:24:28 +00:00
christos
11aeb6ae69 Don't start another copy of rtadvd if one is running. 2017-09-11 14:12:28 +00:00
christos
7931fdd27d KNF, fix time printing formats. 2017-09-11 14:12:07 +00:00
msaitoh
c513660698 Print Mailbox API version. 2017-09-11 10:11:05 +00:00
msaitoh
f8cb90f1a0 Use cprng_strong64() insread of cprng_fast64() to prevent panic. 2017-09-11 09:52:13 +00:00
jmcneill
b0802b6aac Use PSCI for reset and poweroff when available. 2017-09-11 09:21:56 +00:00
maya
74b30a7d41 keep dsb in vchiq code.
dsb refers to an arm instruction, so it won't be used on MI code.
2017-09-11 07:33:45 +00:00
pgoyette
cf97431927 Improve tracking of the state of an event's callout, and protect all
queries or modifications of the state with the sme_mtx mutex.

Detach the rndsrc before re-attaching it (with potentially new values).

Clean up some lock-ordering issues.

And a couple of KNF issues for good measure!

Should address PR kern/52533

XXX Pullup-8 along with the previous fixes from msaitoh@
XXX http://mail-index.netbsd.org/source-changes/2017/09/06/msg088028.html
~
~
2017-09-11 06:02:09 +00:00
maya
bf05a4f11e Use common barrier.h rather than separate implementation. NFCI 2017-09-11 05:25:53 +00:00
maya
03cf96a491 add dsb macro from vchiq 2017-09-11 05:22:10 +00:00
maya
a64dcbc6c9 Move barrier to common so it can be shared with vchiq 2017-09-11 05:20:17 +00:00
maya
89c921fb95 Include opt_multiprocessor.h for MULTIPROCESSOR 2017-09-11 00:58:20 +00:00
jmcneill
e96f84fc0c Allow USB keyboards to attach as console devices. 2017-09-10 23:03:06 +00:00
maya
8b7cb29dc1 sys/errno.h for EFAULT
ok riastradh
2017-09-10 22:51:48 +00:00
maya
9bc1e4779b Update wifi guide to reflect dhcpcd no longer invoking wpa_supplicant 2017-09-10 19:08:17 +00:00
jmcneill
0ae8d89d8f Correct model and compatible string for Pinebook 2017-09-10 18:40:27 +00:00
jmcneill
6315d95354 Add Pinebook support. 2017-09-10 17:06:58 +00:00
ginsbach
b68988e2c2 Use looked up remote host for remote message without a hostname
An incoming remote message may not necessarily have a hostname
between the timestamp and the message. The the source of the remote
sender is already looked up so use that hostname/IP address rather
than the local hostname.

XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-09-10 17:01:07 +00:00
maxv
f70477b3ad simplify 2017-09-10 10:51:13 +00:00
wiz
96dff12048 Fix enumeration. 2017-09-10 10:13:47 +00:00
wiz
33c74a490b Fix typo. 2017-09-10 10:12:43 +00:00
wiz
3a20565680 Sort sections. Make error descriptions complete sentences. 2017-09-10 10:12:21 +00:00
wiz
2f78e4cca5 Sync usage with man page. 2017-09-10 10:09:40 +00:00
wiz
928632ef48 Sort flags in SYNOPSIS. Remove unnecessary .Tn. Remove trailing whitespace. 2017-09-10 10:09:34 +00:00
kre
9a7908da70 Fix a typo, and some wording improvements. 2017-09-10 00:49:40 +00:00
mrg
e7f4cf6f3c two minor fixes for -x and -y mode:
- the header is only 1 line not 2, account for this when calculating
  when to display the next header.
- when ndrives > 1, don't display the header every time, but only when
  the previous one disappears.

now i don't feel the need to run "iostat -x wd0 1 & iostat -c wd1 1"
to get less repeated header output on my display.
2017-09-09 23:51:58 +00:00
kamil
133682b8bb Support <pthread_typs.h> on C89 compilers
Clang 5.0.0(svn) reports warnings on <pthread_types.h> for C99 constructs
when used with strict -std=c89.

Restrict designated initializers usage to C99 or newer code.
C89 and C++ will share the same code without extension of designated
initializers.

PR 52285
2017-09-09 23:21:45 +00:00
sevan
8796143cb0 Note veriexecgen change 2017-09-09 21:34:07 +00:00
sevan
5bd038bb6e Remove the ability to generate a signature database with the hash algorithms
MD5, SHA1 & RMD160 which are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
2017-09-09 21:27:23 +00:00
kamil
cb1261ae47 Remove the BUGS section from devname(3)
devname(3) does not report type of error on purpose.

Suggested by <kre>
2017-09-09 18:45:04 +00:00
kamil
d4fa9170e4 Install new man-page devname_r(3).
This is a link to devname(3).
2017-09-09 18:18:27 +00:00
kamil
aeb1b62621 Document devname_r(3) in devname(3).
Improve clarity of devname(3) mentioning that it returns a pointer to the
buffer pointer. This approach is not thread-safe and not reentrant.

Not that devname(3) does not set errno on failure and document it as a bug.
2017-09-09 18:00:39 +00:00
joerg
69ab70f077 Fix a race between sysctl_unpcblist and closef. 2017-09-09 14:41:19 +00:00
jmcneill
048928076f add dtc (Device Tree Compiler) version info 2017-09-09 14:12:09 +00:00
jmcneill
c7c032dda0 gtmr_intr: If the ISTATUS bit is 0, timer condition is not met. In this
case, just return 0.
2017-09-09 13:14:30 +00:00