openbsd
9 years agoUpdate SSL_OP_* to remove ancient hacks that are no longer enabled.
doug [Mon, 15 Jun 2015 02:57:05 +0000 (02:57 +0000)]
Update SSL_OP_* to remove ancient hacks that are no longer enabled.

9 years agoreturn failure on RSA signature error; reported by Albert S
djm [Mon, 15 Jun 2015 01:32:50 +0000 (01:32 +0000)]
return failure on RSA signature error; reported by Albert S

9 years agofix regress fallout due to CFLAGS vs CXXFLAGS
deraadt [Mon, 15 Jun 2015 01:10:19 +0000 (01:10 +0000)]
fix regress fallout due to CFLAGS vs CXXFLAGS

9 years agosync
deraadt [Sun, 14 Jun 2015 21:50:43 +0000 (21:50 +0000)]
sync

9 years agoBring a few routines from libkern in order to avoid linking against libgcc.
miod [Sun, 14 Jun 2015 19:37:11 +0000 (19:37 +0000)]
Bring a few routines from libkern in order to avoid linking against libgcc.

9 years agoBuild required bits from libkern rather than importing them from libgcc.
miod [Sun, 14 Jun 2015 19:08:59 +0000 (19:08 +0000)]
Build required bits from libkern rather than importing them from libgcc.

9 years agoBuild __moddi3, __muldi3 and __qdivrem from libkern, and built no-pie, instead
miod [Sun, 14 Jun 2015 18:33:53 +0000 (18:33 +0000)]
Build __moddi3, __muldi3 and __qdivrem from libkern, and built no-pie, instead
of getting them from libgcc.a, built pie.
This repairs boot blocks operation on sparc, as found the hard way by sebastia@

9 years agoadd some initial vexpress man pages
jsg [Sun, 14 Jun 2015 13:53:49 +0000 (13:53 +0000)]
add some initial vexpress man pages

9 years agoFix 1.26; kdoprnt() should not attempt to invoke va_end() at all, it's the
miod [Sun, 14 Jun 2015 10:55:50 +0000 (10:55 +0000)]
Fix 1.26; kdoprnt() should not attempt to invoke va_end() at all, it's the
caller's responsibility to do so.

9 years agoAdd a format for client PID (client_pid) and server PID (pid). Diff for
nicm [Sun, 14 Jun 2015 10:07:44 +0000 (10:07 +0000)]
Add a format for client PID (client_pid) and server PID (pid). Diff for
client_pid from Thomas Adam.

9 years agoImplement IQ calibration support for rtwn(4). Lots of black magic involved.
stsp [Sun, 14 Jun 2015 08:02:47 +0000 (08:02 +0000)]
Implement IQ calibration support for rtwn(4). Lots of black magic involved.

9 years agocorrect the uart irq numbers
jsg [Sun, 14 Jun 2015 07:34:57 +0000 (07:34 +0000)]
correct the uart irq numbers
ok bmercer@

9 years agoadd a driver for the ARM PrimeCell PL031 RTC
jsg [Sun, 14 Jun 2015 05:01:31 +0000 (05:01 +0000)]
add a driver for the ARM PrimeCell PL031 RTC

9 years agoParse _CST objects and use the C-states they describe when they're sane.
guenther [Sat, 13 Jun 2015 21:41:42 +0000 (21:41 +0000)]
Parse _CST objects and use the C-states they describe when they're sane.

testing by many, particularly krw@ and jcs@
tweaks by kettenis@
ok deraadt@

9 years agoBusy-wait a short while after sending a command to rtwn(4) firmware.
stsp [Sat, 13 Jun 2015 21:15:23 +0000 (21:15 +0000)]
Busy-wait a short while after sending a command to rtwn(4) firmware.
Fixes selection of initial TX rate. We're not stuck at 1Mbit/s anymore.

9 years agoConvert xfree to free. From Fritjof Bornebusch. ok deraadt
nicm [Sat, 13 Jun 2015 20:15:21 +0000 (20:15 +0000)]
Convert xfree to free. From Fritjof Bornebusch. ok deraadt

9 years agoadd miniroot to MDEXT
jasper [Sat, 13 Jun 2015 18:22:57 +0000 (18:22 +0000)]
add miniroot to MDEXT

9 years agoin glob() initialize the glob_t before the first failure check.
deraadt [Sat, 13 Jun 2015 16:57:04 +0000 (16:57 +0000)]
in glob() initialize the glob_t before the first failure check.
from j@pureftpd.org
ok millert stsp

9 years agoAdd more encodings of options for the armv7 barrier instructions and
jsg [Sat, 13 Jun 2015 09:37:13 +0000 (09:37 +0000)]
Add more encodings of options for the armv7 barrier instructions and
allow non "sy"/0xf options for dmb.  This omits the *ld options
available in armv8 running in a32 mode.  Similiar changes made in
freebsd.

ok miod@

9 years agoSplit up the logic in CBB_flush to separately handle the lengths.
doug [Sat, 13 Jun 2015 09:24:12 +0000 (09:24 +0000)]
Split up the logic in CBB_flush to separately handle the lengths.

Also, add comments about assuming short-form.

ok miod@, tweak + ok jsing@

9 years agoExplain the ASN.1 restriction that requires extra logic for encoding.
doug [Sat, 13 Jun 2015 09:16:42 +0000 (09:16 +0000)]
Explain the ASN.1 restriction that requires extra logic for encoding.

ok miod@ jsing@

9 years agoWhen initial capacity is 0, always use NULL buffer.
doug [Sat, 13 Jun 2015 09:11:57 +0000 (09:11 +0000)]
When initial capacity is 0, always use NULL buffer.

malloc(0) is implementation defined and there's no reason to introduce
that ambiguity here.  Added a few cosmetic changes in sizeof and free.

ok miod@ jsing@

9 years agoAdd comments about how the CBS constants are constructed.
doug [Sat, 13 Jun 2015 09:02:45 +0000 (09:02 +0000)]
Add comments about how the CBS constants are constructed.

Also, introduce a few more #defines to make it obvious.

ok miod@ jsing@

9 years agoReject long-form tags in CBS_peek_asn1_tag.
doug [Sat, 13 Jun 2015 08:46:00 +0000 (08:46 +0000)]
Reject long-form tags in CBS_peek_asn1_tag.

Currently, CBS only handles short-form tags.

ok miod@ jsing@

9 years agoFix bad indenting in LibreSSL.
doug [Sat, 13 Jun 2015 08:38:10 +0000 (08:38 +0000)]
Fix bad indenting in LibreSSL.

jsg@ noticed that some of the lines in libssl and libcrypto are not
indented properly.  At a quick glance, it looks like it has a different
control flow than it really does.  I checked the history in our tree and
in OpenSSL to make sure these were simple mistakes.

ok miod@ jsing@

9 years agoWhen investigating an uninitialised variable in the armv7 resettodr()
jsg [Sat, 13 Jun 2015 07:16:36 +0000 (07:16 +0000)]
When investigating an uninitialised variable in the armv7 resettodr()
miod pointed out that time_second should be compared to 1 not 0 in the
md resettodr() functions as it is initialised to 1.

ok miod@ deraadt@

9 years agoRemove unneeded sys/sysctl.h on linux.
bcook [Sat, 13 Jun 2015 02:33:58 +0000 (02:33 +0000)]
Remove unneeded sys/sysctl.h on linux.

This only provides the sysctl wrapper in glibc, which we do not use and is not available in other libc implementations for Linux. Thanks to ncopa from github.

9 years agoAdd a missing .An macro.
schwarze [Fri, 12 Jun 2015 20:33:06 +0000 (20:33 +0000)]
Add a missing .An macro.
Found by Enrico <Camarda at amnz dot org>
during the BSDCan Doc Sprint.

9 years agoClose the lock pipe before dupping /dev/null to stdio.
bluhm [Fri, 12 Jun 2015 19:20:43 +0000 (19:20 +0000)]
Close the lock pipe before dupping /dev/null to stdio.
This works even if the file descriptor is 0 or 1 or 2.
input and OK millert@

9 years agoAllow rule ID filter to be specified for show states output
mikeb [Fri, 12 Jun 2015 16:10:43 +0000 (16:10 +0000)]
Allow rule ID filter to be specified for show states output

Tweak pfctl to respect the rule ID parameter (-R) specified
along with the show states (-s states) option to filter out
states that are not associated with a given rule from the
output.

ok sthen, benno

9 years agoOnly match devices with a valid configuration.
mpi [Fri, 12 Jun 2015 15:47:31 +0000 (15:47 +0000)]
Only match devices with a valid configuration.

Most of the WiFi/Ethernet USB adapter only have one configuration and always
use its first interface.  In order to improve USB descriptors parsing start
by reducing the number of places where a configuration is set.

Tests & ok stsp@

9 years agoRemove superfluous splnet() protection.
mpi [Fri, 12 Jun 2015 15:40:06 +0000 (15:40 +0000)]
Remove superfluous splnet() protection.

ok lteo@

9 years agoTo match relayd's style, use an explicit enum with prefixed names for
reyk [Fri, 12 Jun 2015 14:40:55 +0000 (14:40 +0000)]
To match relayd's style, use an explicit enum with prefixed names for
the states that Claudio introduced.  No functional change.

OK claudio@ benno@

9 years agoPerform a copy with a memmove for potentially overlapping regions.
mikeb [Fri, 12 Jun 2015 14:18:25 +0000 (14:18 +0000)]
Perform a copy with a memmove for potentially overlapping regions.

Reported and fixed by Sergey Ryazanov <ryazanov ! s ! a at gmail ! com>,
thanks!

9 years agoActually trigger iwm_init_task() from iwm_watchdog() as intended to give
stsp [Fri, 12 Jun 2015 13:11:27 +0000 (13:11 +0000)]
Actually trigger iwm_init_task() from iwm_watchdog() as intended to give
recovery after device timeout a chance. Don't mess with the IFF_UP flag
in the watchdog since this isn't done anywhere except intel wifi drivers
which probably copied this pattern amongst each other.
ok kettenis@

9 years agoFix rtwn(4) wifi LED support. Tested with rtwn(4) device in Thinkpad X220.
stsp [Fri, 12 Jun 2015 09:30:05 +0000 (09:30 +0000)]
Fix rtwn(4) wifi LED support. Tested with rtwn(4) device in Thinkpad X220.

9 years agoReuse SYSENTRY_HIDDEN() in SYSENTRY(); no functional changes.
uebayasi [Fri, 12 Jun 2015 09:26:05 +0000 (09:26 +0000)]
Reuse SYSENTRY_HIDDEN() in SYSENTRY(); no functional changes.

9 years agoKill trailing blank; no text change.
schwarze [Fri, 12 Jun 2015 04:51:08 +0000 (04:51 +0000)]
Kill trailing blank; no text change.
Issue found by Tony Sim <y2s1982 at gmail dot com>
during today's BSDCan Doc Sprint.

9 years agoIf fork fails, print an error message before exit.
bluhm [Fri, 12 Jun 2015 00:54:28 +0000 (00:54 +0000)]
If fork fails, print an error message before exit.
OK doug@ djm@

9 years agoRemove hzto(9) manual pages and references; OK dlg
mikeb [Thu, 11 Jun 2015 19:57:38 +0000 (19:57 +0000)]
Remove hzto(9) manual pages and references;  OK dlg

9 years agolocal user can cause smtpd to fail by sending invalid imsg to control sock
gilles [Thu, 11 Jun 2015 19:27:16 +0000 (19:27 +0000)]
local user can cause smtpd to fail by sending invalid imsg to control sock

9 years agoThe correct semantic is to check msgbuf_write() for <= 0, not just < 0.
reyk [Thu, 11 Jun 2015 19:25:53 +0000 (19:25 +0000)]
The correct semantic is to check msgbuf_write() for <= 0, not just < 0.
Fix one occurence in imsg_flush() and clarify it the man page.

Discussed with at least blambert@ jsg@ yasuoka@.

OK gilles@

9 years agoUse "compliant" header guards by avoiding the reserved '_' namespace.
reyk [Thu, 11 Jun 2015 18:49:09 +0000 (18:49 +0000)]
Use "compliant" header guards by avoiding the reserved '_' namespace.

Pointed out by Markus Elfring

OK mikeb@ millert@

9 years agosync
deraadt [Thu, 11 Jun 2015 18:48:10 +0000 (18:48 +0000)]
sync

9 years agoFix CVE-2012-3509, an integer overflow in libiberty, leading to
bluhm [Thu, 11 Jun 2015 17:33:35 +0000 (17:33 +0000)]
Fix CVE-2012-3509, an integer overflow in libiberty, leading to
heap-buffer overflow.
From Sebastian Trahm;  OK deraadt@

9 years agoIn the copyout family of functions, if the address is out of range
deraadt [Thu, 11 Jun 2015 17:26:17 +0000 (17:26 +0000)]
In the copyout family of functions, if the address is out of range
ensure the register containing the proc pointer is initialized.
ok miod

9 years agoRemove hzto(9) manual pages and references; OK dlg
mikeb [Thu, 11 Jun 2015 16:04:55 +0000 (16:04 +0000)]
Remove hzto(9) manual pages and references;  OK dlg

9 years agoMove hzto(9) to the attic; OK dlg
mikeb [Thu, 11 Jun 2015 16:03:04 +0000 (16:03 +0000)]
Move hzto(9) to the attic;  OK dlg

9 years agoAvoid an infinite loop that can occur when verifying a message with an
jsing [Thu, 11 Jun 2015 16:02:05 +0000 (16:02 +0000)]
Avoid an infinite loop that can occur when verifying a message with an
unknown hash function OID.

Diff based on OpenSSL.

Fixes CVE-2015-1792 (however, this code is not enabled/built in LibreSSL).

ok doug@ miod@

9 years agoConvert from hzto(9) to tvtohz(9); OK dlg
mikeb [Thu, 11 Jun 2015 16:00:36 +0000 (16:00 +0000)]
Convert from hzto(9) to tvtohz(9);  OK dlg

9 years agoMove away from using hzto(9); OK dlg
mikeb [Thu, 11 Jun 2015 15:59:17 +0000 (15:59 +0000)]
Move away from using hzto(9);  OK dlg

9 years agoAvoid a potential out-of-bounds read in X509_cmp_time(), due to missing
jsing [Thu, 11 Jun 2015 15:58:53 +0000 (15:58 +0000)]
Avoid a potential out-of-bounds read in X509_cmp_time(), due to missing
length checks.

Diff based on changes in OpenSSL.

Fixes CVE-2015-1789.

ok doug@

9 years agoAvoid an infinite loop that can be triggered by parsing an ASN.1
jsing [Thu, 11 Jun 2015 15:55:28 +0000 (15:55 +0000)]
Avoid an infinite loop that can be triggered by parsing an ASN.1
ECParameters structure that has a specially malformed binary polynomial
field.

Issue reported by Joseph Barr-Pixton and fix based on OpenSSL.

Fixes CVE-2015-1788.

ok doug@ miod@

9 years agoDon't do manual whitespace adjustments inside semantic macros,
schwarze [Thu, 11 Jun 2015 12:48:32 +0000 (12:48 +0000)]
Don't do manual whitespace adjustments inside semantic macros,
rather do it before the macros, and get rid of cargo cult escaping.
Both to make the code more robust and less ugly, no output change.
Ugly code reported by TJ at mrsk dot me.
OK jmc@

9 years agoconvert sc_sendq into an mbuf_list, and use ph_cookie rather than rcvif to
jmatthew [Thu, 11 Jun 2015 12:30:42 +0000 (12:30 +0000)]
convert sc_sendq into an mbuf_list, and use ph_cookie rather than rcvif to
store the sgl address, allowing rcvif to be removed.

ok mpi@ dlg@ uebayasi@

9 years agoAvoid double-free in error path by cribbing the HASBUF flag
blambert [Thu, 11 Jun 2015 08:39:51 +0000 (08:39 +0000)]
Avoid double-free in error path by cribbing the HASBUF flag
logic from the rest of the kernel that deals with filename
lookups.

In snaps for some time.

Initially found by jsg@
Prodded by deraadt@

9 years agoremove uneeded pci includes
jsg [Thu, 11 Jun 2015 04:38:23 +0000 (04:38 +0000)]
remove uneeded pci includes

9 years agobreath->breadth
sthen [Wed, 10 Jun 2015 21:16:41 +0000 (21:16 +0000)]
breath->breadth

9 years agoTypos: equalivant, fucntion, libary.
miod [Wed, 10 Jun 2015 20:50:05 +0000 (20:50 +0000)]
Typos: equalivant, fucntion, libary.

9 years agoDon't claim the autri(4) driver supports big-ending, signed 8-bit,
ratchov [Wed, 10 Jun 2015 20:14:02 +0000 (20:14 +0000)]
Don't claim the autri(4) driver supports big-ending, signed 8-bit,
or unsigned 16-bit samples. Fixes sound on big endian machines.

9 years agoUse first 4 channels of the board. The previous channel setting
ratchov [Wed, 10 Jun 2015 20:02:42 +0000 (20:02 +0000)]
Use first 4 channels of the board. The previous channel setting
caused DMA on the wrong memory location during recording.

ok kettenis@

9 years agoDo not set "rcvif", if_input() does it for us.
mpi [Wed, 10 Jun 2015 15:34:17 +0000 (15:34 +0000)]
Do not set "rcvif", if_input() does it for us.

Found the hardway by krw@ trying a diff that kills "rcvif".

ok stsp@

9 years agowp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.
nicm [Wed, 10 Jun 2015 12:56:04 +0000 (12:56 +0000)]
wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.

9 years agoExport new pf "no-route" error counter
mikeb [Wed, 10 Jun 2015 10:03:59 +0000 (10:03 +0000)]
Export new pf "no-route" error counter

OK sthen, blambert for the SNMP part

9 years agoAdd missing include.
mpi [Wed, 10 Jun 2015 09:20:21 +0000 (09:20 +0000)]
Add missing include.

9 years agoFTP as an install method kicked the bucket some time ago.
jasper [Wed, 10 Jun 2015 06:38:39 +0000 (06:38 +0000)]
FTP as an install method kicked the bucket some time ago.

ok miod@

9 years agoRemove unused parameter of load_locale_sub(). No assembly change on i386.
stsp [Tue, 9 Jun 2015 20:04:04 +0000 (20:04 +0000)]
Remove unused parameter of load_locale_sub(). No assembly change on i386.
Diff from Sebastien Marie. objdump foo help from uwe

9 years agoadd miniroot; note it's not further documented to prevent having to
jasper [Tue, 9 Jun 2015 19:36:43 +0000 (19:36 +0000)]
add miniroot; note it's not further documented to prevent having to
reword/rewrite most of it again when usb support has landed.

9 years agoadd the edgerouter poe to the edgeroute lite paragraph
jasper [Tue, 9 Jun 2015 19:29:57 +0000 (19:29 +0000)]
add the edgerouter poe to the edgeroute lite paragraph

9 years agominiroot for octeon; tested on edgerouter lite with local usb storage
jasper [Tue, 9 Jun 2015 19:20:36 +0000 (19:20 +0000)]
miniroot for octeon; tested on edgerouter lite with local usb storage

ok jmatthew@ miod@

9 years agoRemove the hack to check if the received pointer has changed in an ifih
mpi [Tue, 9 Jun 2015 14:57:30 +0000 (14:57 +0000)]
Remove the hack to check if the received pointer has changed in an ifih
now that all drivers and pseudo-drivers are using if_input().

if_input() is reentrant and is now the only place where we set `rcvif'.

9 years agoConvert trunk(4) to if_input().
mpi [Tue, 9 Jun 2015 14:50:14 +0000 (14:50 +0000)]
Convert trunk(4) to if_input().

ok dlg@

9 years agoplug fd leak found by Todd Mortimer
jung [Tue, 9 Jun 2015 08:50:52 +0000 (08:50 +0000)]
plug fd leak found by Todd Mortimer

ok claudio deraadt florian

9 years agoFix loop comparison broken in last commit, from Thomas Adam.
nicm [Tue, 9 Jun 2015 07:07:06 +0000 (07:07 +0000)]
Fix loop comparison broken in last commit, from Thomas Adam.

9 years agoMore damned eye searing whitespace. No change to .o files.
krw [Mon, 8 Jun 2015 22:19:27 +0000 (22:19 +0000)]
More damned eye searing whitespace. No change to .o files.

9 years agoexpr isn't on the ramdisk use ksh for addition
jsg [Mon, 8 Jun 2015 18:31:17 +0000 (18:31 +0000)]
expr isn't on the ramdisk use ksh for addition
problem spotted by jasper@

9 years agoMove the scan_dmesg calls back into the functions. It can't be called
jsg [Mon, 8 Jun 2015 17:35:43 +0000 (17:35 +0000)]
Move the scan_dmesg calls back into the functions.  It can't be called
when the file is sourced as /var/run/dmesg.boot won't exist then.

9 years agoIntroduce a state on the ctl_relay_event struct. This makes it possible
claudio [Mon, 8 Jun 2015 15:47:51 +0000 (15:47 +0000)]
Introduce a state on the ctl_relay_event struct. This makes it possible
to better track the connection state of a session and stops doing double
opens in certain situations using http relays. Using a state field to
simplify the logic since relay_connect() is called multiple times.
OK benno@, bluhm@ and running in production for more than a week

9 years agoenable agtimer on the ramdisk as well
jsg [Mon, 8 Jun 2015 14:59:34 +0000 (14:59 +0000)]
enable agtimer on the ramdisk as well

9 years agoAt some point arm moved to a unified syntax for arm and thumb instructions.
jsg [Mon, 8 Jun 2015 14:22:05 +0000 (14:22 +0000)]
At some point arm moved to a unified syntax for arm and thumb instructions.
While binutils supports both "unified" and "divided" syntax (defaulting
to divided) the integrated assembler in clang only supports unified names
so switch some files to unified syntax.  Similiar changes were made in
bitrig and freebsd.  No difference in objdump -d output.

tested on zaurus by deraadt@, ok miod@

9 years agoMerge multiple copies of the code doing VLAN tag insertion back into
mpi [Mon, 8 Jun 2015 13:44:08 +0000 (13:44 +0000)]
Merge multiple copies of the code doing VLAN tag insertion back into
vlan_start().

ok sthen@, phessler@

9 years agoMove carp-related logic from ether_output() into carp_start().
mpi [Mon, 8 Jun 2015 13:40:48 +0000 (13:40 +0000)]
Move carp-related logic from ether_output() into carp_start().

ok sthen@, phessler@

9 years agoUpdate documentation for lang/go module
czarkoff [Mon, 8 Jun 2015 09:23:01 +0000 (09:23 +0000)]
Update documentation for lang/go module

OK sthen@

9 years agorearrange delayed_work to avoid the use of container_of while leaving it in
jmatthew [Mon, 8 Jun 2015 08:47:38 +0000 (08:47 +0000)]
rearrange delayed_work to avoid the use of container_of while leaving it in
more or less the same shape.

ok uebayasi@

9 years agopms(4): Don't match Elantech v4 devices with firmware versions 0xX7XXXX.
stsp [Mon, 8 Jun 2015 06:39:22 +0000 (06:39 +0000)]
pms(4): Don't match Elantech v4 devices with firmware versions 0xX7XXXX.
Apparently we don't support these touchpads properly so leave them in
PS/2 compat mode. Regression reported by Remi Locherer on bugs@. And stop
matching devices with firmware versions higher than 0xX8XXXX since we cannot
be sure they work.
ok mpi@

9 years agoAdd initial support for the ARM Versatile Express boards as emulated by
jsg [Mon, 8 Jun 2015 06:33:16 +0000 (06:33 +0000)]
Add initial support for the ARM Versatile Express boards as emulated by
qemu with virtio memory ranges.

Unfortunately the vexpress-a9 and vexpress-a15 boards/targets have
different load addresses and memory maps.

Code for the PL011 UART and mmio virtio attachment from Patrick Wildt
in bitrig.

9 years agorefuse to do polled isochronous transfers, as other usb controller drivers do
jmatthew [Mon, 8 Jun 2015 00:58:23 +0000 (00:58 +0000)]
refuse to do polled isochronous transfers, as other usb controller drivers do

requested by mpi@

9 years agoEnsure polled bulk, control and interrupt transfers actually poll, fixing
jmatthew [Mon, 8 Jun 2015 00:46:33 +0000 (00:46 +0000)]
Ensure polled bulk, control and interrupt transfers actually poll, fixing
panics on shutdown with various usb sticks.

ok mpi@

9 years agoAdd -E flag when attaching or switching client to bypass
nicm [Sun, 7 Jun 2015 21:39:39 +0000 (21:39 +0000)]
Add -E flag when attaching or switching client to bypass
update-environment, from Steven Lu.

9 years agoHBG is no more so no need to mention it in the man pages.
claudio [Sun, 7 Jun 2015 20:13:13 +0000 (20:13 +0000)]
HBG is no more so no need to mention it in the man pages.
OK jmc@

9 years agoThe Swiss Federal Government decided to shut down HBG at the end of 2011.
claudio [Sun, 7 Jun 2015 20:11:52 +0000 (20:11 +0000)]
The Swiss Federal Government decided to shut down HBG at the end of 2011.
On 6 September 2012 at 12:02:00 UTC both antenna towers were demolished by
controlled explosives. So this is not coming back and we can tedu the
support for HBG form the DCF77 drivers.
Remided by mbalmer

9 years agoMore damned eye searing whitespace.
krw [Sun, 7 Jun 2015 19:13:27 +0000 (19:13 +0000)]
More damned eye searing whitespace.

9 years agosync
deraadt [Sun, 7 Jun 2015 18:48:20 +0000 (18:48 +0000)]
sync

9 years agoInitial exynos4 bits. Among other things the gic isn't mapped correctly
jsg [Sun, 7 Jun 2015 16:54:16 +0000 (16:54 +0000)]
Initial exynos4 bits.  Among other things the gic isn't mapped correctly
on exynos4/5 yet as it isn't at the usual offset from periphbase.
ok bmercer@

9 years agoAdd a default panic case to a switch statement where code after assumes
jsg [Sun, 7 Jun 2015 12:16:27 +0000 (12:16 +0000)]
Add a default panic case to a switch statement where code after assumes
one of the cases was reached.  Matches other parts of the mpbios code.

9 years agoIntroduce unhandled_af() for cases where code conditionally does
jsg [Sun, 7 Jun 2015 12:02:28 +0000 (12:02 +0000)]
Introduce unhandled_af() for cases where code conditionally does
something based on an address family and later assumes one of the paths
was taken.  This was initially just calls to panic until guenther
suggested a function to reduce the amount of strings needed.

This reduces the amount of noise with static analysers and acts
as a sanity check.

ok guenther@ bluhm@

9 years agomark the usb hci driver pci glue code as only needed by the pci attachment,
dlg [Sun, 7 Jun 2015 10:47:53 +0000 (10:47 +0000)]
mark the usb hci driver pci glue code as only needed by the pci attachment,
not all usb controllers.

this lets jsg build ehci on a platform that lacks a pci bus.
ok jsg@

9 years agoAdd CR4_FSGSBASE
guenther [Sun, 7 Jun 2015 08:11:50 +0000 (08:11 +0000)]
Add CR4_FSGSBASE

9 years agoEnable use of mwait in non-MP boxes and report # of C-substates up to C7,
guenther [Sun, 7 Jun 2015 06:24:59 +0000 (06:24 +0000)]
Enable use of mwait in non-MP boxes and report # of C-substates up to C7,
truncating trailing zeros.

Testing by many as part of a larger change to use ACPI _CST objects
ok krw@

9 years agoReplace a bunch of == 0 with == NULL in pointer tests. Nuke some
krw [Sun, 7 Jun 2015 01:25:27 +0000 (01:25 +0000)]
Replace a bunch of == 0 with == NULL in pointer tests. Nuke some
annoying trailing, leading and embedded whitespace. No change to
.o files.

ok deraadt@