Re: ifconfig.8: removing arp as a valid load balancing mode

2017-11-29 Thread Jason McIntyre
On Thu, Nov 30, 2017 at 01:42:22AM +0100, Martin Rettberg wrote: > Hi, > > mpi@ removed ARP as a load balancing mode from carp(4) on November 2, > 2015. The manual page of ifconfig(8) never reflected this change. > > Regards, > Martin > fixed, thanks. jmc > > Index: ifconfig.8 >

Re: dc(1): floor(log_10(x)) should not cost more than O(log(log(x)))

2017-11-29 Thread Otto Moerbeek
On Sun, Nov 26, 2017 at 07:40:03PM +, kshe wrote: > Hi, > > The `Z' command can be a handy shortcut for computing logarithms; as > such, for example, it is the basis of the implementation of bc(1)'s `l' > function. However, the algorithm currently used in count_digits() is > too naive to be

Re: Driver for Bosch motion sensors

2017-11-29 Thread Mike Larkin
On Thu, Nov 30, 2017 at 02:29:58AM +0100, Mark Kettenis wrote: > Driver name is bgw(4). Found on a Lenovo 2-in-1 laptop. > > ok? > Man page? Otherwise ok mlarkin. -ml > Index: dev/i2c/bmc150.c > === > RCS file: dev/i2c/bmc150.c

Fix a typo in INSTALL.octeon

2017-11-29 Thread Rafael Neves
Hi, The patch below replace one "$loadaddr" to "${loadaddr}" in U-Boot instructions of INSTALL.octeon. Regards, Rafael Neves Index: install === RCS file: /cvs/src/distrib/notes/octeon/install,v retrieving revision 1.14 diff -u -p

ifconfig.8: removing arp as a valid load balancing mode

2017-11-29 Thread Martin Rettberg
Hi, mpi@ removed ARP as a load balancing mode from carp(4) on November 2, 2015. The manual page of ifconfig(8) never reflected this change. Regards, Martin Index: ifconfig.8 === RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v

lex: simplify PRINT_SPACES() macro

2017-11-29 Thread Michael W. Bombardieri
Hello, Upstream flex converted macro PRINT_SPACES() into a single fprintf() call. https://github.com/westes/flex/commit/37a6184dabcd82fa1d17c24c000f3da469296195#diff-25d902c24283ab8cfbac54dfa101ad31 Applying this to OpenBSD lex reduces the differences in scanopt.c between the two. - Michael

Driver for Bosch motion sensors

2017-11-29 Thread Mark Kettenis
Driver name is bgw(4). Found on a Lenovo 2-in-1 laptop. ok? Index: dev/i2c/bmc150.c === RCS file: dev/i2c/bmc150.c diff -N dev/i2c/bmc150.c --- /dev/null 1 Jan 1970 00:00:00 - +++ dev/i2c/bmc150.c30 Nov 2017 01:21:36

Re: perlreftut.1.patch

2017-11-29 Thread Andrew Hewus Fresh
Upstream has fixed this by switching to using Ada Lovelace instead of the name of the president. We'll pick it up eventually. https://perl5.git.perl.org/perl.git/commitdiff/b9d0a43747db03517f1acf3b092bb5276058747c l8rZ, -- andrew - http://afresh1.com Computer Science: solving today's problems

Re: perlreftut.1.patch

2017-11-29 Thread Theo de Raadt
perl is from upstream, which means someone works hard to update it when neccessary, and you've been around long enough to know better (i'm suggesting you know you are being an ass) > --- perlreftut.1.orig Wed Nov 29 18:45:45 2017 > +++ perlreftut.1Wed Nov 29 18:51:52 2017 > @@ -140,11

perlreftut.1.patch

2017-11-29 Thread Edgar Pettijohn
--- perlreftut.1.orig Wed Nov 29 18:45:45 2017 +++ perlreftut.1Wed Nov 29 18:51:52 2017 @@ -140,11 +140,11 @@ reference that you're already familiar with. Think of the President of the United States: a messy, inconvenient bag of blood and bones. But to talk about him, or to represent

Re: ACPI GPIO-signaled events

2017-11-29 Thread Mike Larkin
On Wed, Nov 29, 2017 at 11:31:18PM +0100, Mark Kettenis wrote: > Diff below adds support for ACPI GPIO-signaled events to the > chvgpio(4) driver. This makes the laptop I have here realize the lid > is closed or opened. > > ok? > ok mlarkin -ml > > Index: dev/acpi/acpi.c >

ACPI GPIO-signaled events

2017-11-29 Thread Mark Kettenis
Diff below adds support for ACPI GPIO-signaled events to the chvgpio(4) driver. This makes the laptop I have here realize the lid is closed or opened. ok? Index: dev/acpi/acpi.c === RCS file: /cvs/src/sys/dev/acpi/acpi.c,v

slaacd(8): Move privileged initialization from frontend to main process.

2017-11-29 Thread Florian Obser
Move privileged initialization from frontend to main process. Needed for future work where we will spin up children via fork - privdrop - exec. OK? diff --git control.c control.c index 76b0f3b15ea..96a6206c874 100644 --- control.c +++ control.c @@ -85,9 +85,7 @@ control_init(char *path)

glamor_egl build error

2017-11-29 Thread Base Pr1me
The attached diff fixes an error when building xenocara with XENOCARA_BUILD_GALLIUM=llvm set. Attaching instead of inline, as I've read on here the gmail mangles whitespace ... or something. Thanks, Tracey Index: Makefile.am === RCS

unlock more of rtsock

2017-11-29 Thread Claudio Jeker
This diff changes the the PCB list into an SRP list. Therefor concurrent access is no longer an issue and route_input() could be more unlocked. There is not much point of releasing the KERNEL_LOCK for now but I added commented lock / unlock to the code. Next on the list are now the socekt

iwm(4): newstate error recovery

2017-11-29 Thread Stefan Sperling
If iwm_newstate() fails, queue the init task to reset the device. This should prevent hangs some people have been reporting. Tests? OK? Index: if_iwm.c === RCS file: /cvs/src/sys/dev/pci/if_iwm.c,v retrieving revision 1.217 diff -u

iwm(4) background scan

2017-11-29 Thread Stefan Sperling
This is an initial implementation of background scanning for iwm(4). The intention is to transparently roam between access points with the same SSID. This implementation is functionally complete, but it may still need some tuning. Background scans are triggered if the received signal strength

Re: iked, don't return NULL in print_host

2017-11-29 Thread Claudio Jeker
On Wed, Nov 29, 2017 at 05:32:11PM +0100, Patrick Wildt wrote: > On Wed, Nov 29, 2017 at 04:32:24PM +0100, Claudio Jeker wrote: > > On Wed, Nov 29, 2017 at 02:43:45AM +0100, Jeremie Courreges-Anglas wrote: > > > On Wed, Nov 29 2017, Claudio Jeker wrote: > > > > On Wed,

Re: iked, don't return NULL in print_host

2017-11-29 Thread Jeremie Courreges-Anglas
On Wed, Nov 29 2017, Patrick Wildt wrote: > On Wed, Nov 29, 2017 at 04:32:24PM +0100, Claudio Jeker wrote: >> On Wed, Nov 29, 2017 at 02:43:45AM +0100, Jeremie Courreges-Anglas wrote: >> > On Wed, Nov 29 2017, Claudio Jeker wrote: >> > > On Wed, Nov

Re: iked, don't return NULL in print_host

2017-11-29 Thread Patrick Wildt
On Wed, Nov 29, 2017 at 04:32:24PM +0100, Claudio Jeker wrote: > On Wed, Nov 29, 2017 at 02:43:45AM +0100, Jeremie Courreges-Anglas wrote: > > On Wed, Nov 29 2017, Claudio Jeker wrote: > > > On Wed, Nov 29, 2017 at 01:59:06AM +0100, Claudio Jeker wrote: > > >> Seen in my

Re: iked, don't return NULL in print_host

2017-11-29 Thread Claudio Jeker
On Wed, Nov 29, 2017 at 02:43:45AM +0100, Jeremie Courreges-Anglas wrote: > On Wed, Nov 29 2017, Claudio Jeker wrote: > > On Wed, Nov 29, 2017 at 01:59:06AM +0100, Claudio Jeker wrote: > >> Seen in my log file: > >> Nov 28 17:47:22 dramaqueen iked: vfprintf %s NULL in

Re: relayd/ctl alternative control socket

2017-11-29 Thread Sebastian Benoit
Kapetanakis Giannis(bil...@edu.physics.uoc.gr) on 2017.11.29 11:40:41 +0200: > On 28/11/17 17:06, Sebastian benoit wrote: > > Hi, > > > > your diff looks good, but i would rather do it the way bgpd/bgpctl do it: > > > > there the default is? /var/run/bgpd.sock. where is the > > routing domain

Re: isakmpd: use monotonic clock for event timeouts

2017-11-29 Thread Scott Cheloha
On Mon, Nov 27, 2017 at 08:36:33PM -0600, Scott Cheloha wrote: > > > On Nov 27, 2017, at 9:54 AM, Jeremie Courreges-Anglas > > wrote: > > > > On Fri, Nov 24 2017, Scott Cheloha wrote: > >> Hi, > >> > >> [...] > >> > >> Thoughts and feedback? > > > >

armv7/sxie/if_dwge: get "local-mac-address"

2017-11-29 Thread Artturi Alm
Hi, now as u-boot env is more likely to be found in the FAT by default[0], i presume there will be more use for this, so that things work consistently across all ethernet drivers(except if_dwxe) on armv7. just reading what might be set in the registers already doesn't really work out

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-29 Thread Martin Pieuchot
On 28/11/17(Tue) 17:40, Otto Moerbeek wrote: > On Tue, Nov 28, 2017 at 10:59:07PM +0800, Helg wrote: > > One small comment from me: > > > /* already open i think all is ok */ > > if (ip->fufh[fufh_type].fh_type != FUFH_INVALID) > > return (0); > > > > + /* > > +* The

armv7/imx: freezing fec

2017-11-29 Thread Artturi Alm
Hi, there's more work to be done for fec, but this will allow changing changing address/ifconfig up etc. without the freeze/kernel hangup preventing ie. autoinstall i've reported to bugs@. i didn't see these while loops being done in nbsd if_enet, where i think fec originates from. -Artturi

Re: relayd/ctl alternative control socket

2017-11-29 Thread Kapetanakis Giannis
On 28/11/17 17:06, Sebastian benoit wrote: > Hi, > > your diff looks good, but i would rather do it the way bgpd/bgpctl do it: > > there the default is  /var/run/bgpd.sock. where is the > routing domain bgpctl is running in.  To administer bgpd(8) in a different > routing domain, run bgpctl

Re: armv7/sxie: enable phy-supply

2017-11-29 Thread Artturi Alm
On Wed, Nov 29, 2017 at 12:37:23AM +1100, Jonathan Gray wrote: > On Sun, Nov 26, 2017 at 06:52:42PM +0200, Artturi Alm wrote: > > Hi, > > > > unless i failed w/grep, only 4 boards with dts in u-boot/linux need this, > > but i've got one of those, so this would be much appreciated:) > > > >

Re: relayd/ctl alternative control socket

2017-11-29 Thread Peter Hessler
bgpd uses that way *because* it can use an alternate socket. Being able to specify a different socket for daemon/client is pretty helpful. On 2017 Nov 28 (Tue) at 16:06:51 +0100 (+0100), Sebastian benoit wrote: :Hi, : :your diff looks good, but i would rather do it the way bgpd/bgpctl do it: :