remove cluster_write() remains

2016-05-21 Thread Martin Natano
VOP_ALLOCBLKS() and related code is unused since the removal of cluster_write(). This diff even shrinks /bsd by 8kb. Ok? natano Index: sbin/sysctl/sysctl.8 === RCS file: /cvs/src/sbin/sysctl/sysctl.8,v retrieving revision 1.194 diff

Two fixes for eeprom -p

2016-05-21 Thread Mark Kettenis
I'm making eeprom(8) work on FDT-enabled armv7 platforms. Those are little-endian, but the FDT is defined to be big-endian. So eeprom(8) needs to byteswap 32-bit "cells" for printing. The second bit makes sure we zero the op_name when we start enumerating properties. Without this we run the ris

Re: LTE umsm

2016-05-21 Thread Chris Cappuccio
Martin Pieuchot [m...@openbsd.org] wrote: > On 20/05/16(Fri) 09:47, Chris Cappuccio wrote: > > So to just remove the ifaceno check, here's the diff. > > > > This matches u3g behaviour for SIERRA TRUINSTALL devices. There is > > still a bit of hardcoded stuff that needs to be reviewed in umsm > > f

Re: wsmouse_input: hidms, pms

2016-05-21 Thread Jakub Skrzypnik
On Sat, May 21, 2016 at 04:28:35PM +0200, Mark Kettenis wrote: > > hidms includes support for simple touchscreens. > Will it fix some issues with touch-capable "netbooks" going crazy when touching them? I have one Acer V5-571P laptop with touchscreen, and it's moving mouse randomly when presse

Re: wsmouse_input: hidms, pms

2016-05-21 Thread Mark Kettenis
> From: Ulf Brosziewski > Date: Sat, 14 May 2016 16:46:55 +0200 > > The new input-processing functions of wsmouse seem to work well > for touchpads, and it might be time to update the mouse drivers > now. I start with the two drivers that I could test myself, hidms > (ums) and pms. > > Please no

Re: Update iwm(4) to newer firmware

2016-05-21 Thread Stefan Sperling
On Wed, May 18, 2016 at 11:53:33AM +0200, Stefan Sperling wrote: > Update iwm(4) to firmware version 16.242414.0 (API 16). > New firmware has been available in fw_update(1) for several weeks already. This is an updated diff which includes changes submitted by Imre Vadasz to fix occasional associat

improve fuse_parse_opt() parsing

2016-05-21 Thread Ray Lai
This fixes "sshfs -o idmap=user". The "if (o->off != ULONG_MAX)" logic is basically "if (!FUSE_OPT_IS_OPT_KEY(o))" from above, so I stuck it into an else. Ideas from Helg: https://marc.info/?l=openbsd-tech&m=142451814811631&w=2 Ray Index: fuse_opt.c =

Re: wsmouse_input: hidms, pms

2016-05-21 Thread Ulf Brosziewski
Ping? Wouldn't it be nice if wsmouse were more coherent again in the next release? On 05/14/2016 04:46 PM, Ulf Brosziewski wrote: > The new input-processing functions of wsmouse seem to work well > for touchpads, and it might be time to update the mouse drivers > now. I start with the two drivers

Missing strdup NULL checks in libfuse

2016-05-21 Thread Ray Lai
Index: fuse.c === RCS file: /home/cvs/src/lib/libfuse/fuse.c,v retrieving revision 1.27 diff -u -p -u -p -r1.27 fuse.c --- fuse.c 24 Dec 2015 17:02:37 - 1.27 +++ fuse.c 21 May 2016 09:05:20 - @@ -424,6 +424,8 @@

Re: LTE umsm

2016-05-21 Thread Martin Pieuchot
On 20/05/16(Fri) 09:47, Chris Cappuccio wrote: > So to just remove the ifaceno check, here's the diff. > > This matches u3g behaviour for SIERRA TRUINSTALL devices. There is > still a bit of hardcoded stuff that needs to be reviewed in umsm > for other devices. I think yuo@ was trying to match som

Re: [PATCH] Allow softraid crypto to work with write-protected keys

2016-05-21 Thread bytevolcano
ping On Wed, 18 May 2016 12:14:50 +0100 bytevolc...@safe-mail.net wrote: > My apologies for the noise; the previous one was the wrong revision > (r1.126 instead of 1.127) because both patches look similar; here is > the most recent catch: > > Index: sys/dev/softraid_crypto.c > ==

Re: rbootd: simplify signal handling

2016-05-21 Thread Philip Guenther
On Sat, May 21, 2016 at 12:22 AM, Philip Guenther wrote: ... > I believe this removes the last uses of the obsolete sigblock(), > sigsetmask(), and sigmask() from non-GNU base. ...other than the calls from inside libc** by setjmp/longjmp/sigsetjmp/siglongjmp on some archs, which kettenis and I ar

rbootd: simplify signal handling

2016-05-21 Thread Philip Guenther
Actually, the signal handling was simplified 14(!) years ago by miod@ when he changed rbootd to do all processing from its main loop, with signals just setting flags tested there. This diff just removes the blocking and unblocking that was rendered superfluous by that previous change. Back wh