Re: NET_LOCK and pf_consistency_lock removal

2017-01-29 Thread Alexander Bluhm
On Wed, Jan 25, 2017 at 09:53:34AM +0100, Sebastian Benoit wrote: > this removes the pf_consistency_lock and protects the users with NET_LOCK() > > I ran into a crash when using pfctl -k, and mpi suggested this change (and > likes the diff). > > pf hackers: ok? OK bluhm@ > +pf_purge_expired_src

Re: usbdevs: logitech: cleanup

2017-01-29 Thread James Hastings
New scaled-back diff. cleanup whitespace, s/QUICKCAM/QKCAM/, no new ids. Index: dev/usb/uaudio.c === RCS file: /cvs/src/sys/dev/usb/uaudio.c,v retrieving revision 1.122 diff -u -p -r1.122 uaudio.c --- dev/usb/uaudio.c3 Jan 2017 06

Re: Sync sys/videoio.h with recent Linux kernel

2017-01-29 Thread Christian Weisgerber
On 2017-01-29, Martin Pieuchot wrote: >> which allows us to fully comply with the V4L2 API. The attached diff >> implements this and syncs with videodev2.h from the Linux kernel version >> 4.10-rc5 at the same time > > This needs to go in a bulk since most users of this API are ports. I have sta

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Martin Pieuchot
On 29/01/17(Sun) 19:33, Christopher Zimmermann wrote: > [...] > Index: uaudio.c > === > RCS file: /cvs/src/sys/dev/usb/uaudio.c,v > retrieving revision 1.122 > diff -u -p -r1.122 uaudio.c > --- uaudio.c 3 Jan 2017 06:45:58 -

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Christopher Zimmermann
On 2017-01-30 Martin Pieuchot wrote: > On 29/01/17(Sun) 14:45, Christopher Zimmermann wrote: > > > You are talking about usb_subr.c? Done. > > No I'm not :) > Yes please, do not touch usb_subr.c. > Also make sure your comment below respect style(9). ok. I got it. I added conditions to uau

Re: lib/libc/sys/pledge.2: Fix comment

2017-01-29 Thread Jason McIntyre
On Sun, Jan 29, 2017 at 12:40:40PM -0500, Michael Reed wrote: > It seem that sio_open(3) is more relevant to the "audio" pledge > than the "bpf" one, so move the reference accordingly. > fixed, thanks. jmc > > Index: pledge.2 > ===

lib/libc/sys/pledge.2: Fix comment

2017-01-29 Thread Michael Reed
It seem that sio_open(3) is more relevant to the "audio" pledge than the "bpf" one, so move the reference accordingly. Index: pledge.2 === RCS file: /cvs/src/lib/libc/sys/pledge.2,v retrieving revision 1.39 diff -u -p -r1.39 pledge.

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Martin Pieuchot
On 29/01/17(Sun) 14:45, Christopher Zimmermann wrote: > On 2017-01-29 Martin Pieuchot wrote: > > On 28/01/17(Sat) 13:02, Christopher Zimmermann wrote: > > > Hi, > > > > > > I needed to add some quirks to support the M-Audio FastTrack Pro USB > > > audio interface. > > > > Since this is just fo

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Christopher Zimmermann
On 2017-01-29 Martin Pieuchot wrote: > On 28/01/17(Sat) 13:02, Christopher Zimmermann wrote: > > Hi, > > > > I needed to add some quirks to support the M-Audio FastTrack Pro USB > > audio interface. > > Since this is just for one device there's no need for a quirk. Simply > check for the devi

Re: Sync sys/videoio.h with recent Linux kernel

2017-01-29 Thread Martin Pieuchot
On 28/01/17(Sat) 11:55, Ingo Feinerer wrote: > Hi, > > in a previous commit > (http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/videoio.h?rev=1.12&content-type=text/x-cvsweb-markup) > we updated our V4L2 API. However, one file (v4l2-common.h) could not be > inlined as it was only GPL2 licensed

Re: Add quirks to support M-Audio FastTrack Pro (uaudio)

2017-01-29 Thread Martin Pieuchot
On 28/01/17(Sat) 13:02, Christopher Zimmermann wrote: > Hi, > > I needed to add some quirks to support the M-Audio FastTrack Pro USB > audio interface. Since this is just for one device there's no need for a quirk. Simply check for the device ID. > > * The device needs to be switched to the co

Re: iwm(4): Update struct iwm_scan_results_notif. Remove a few old defines.

2017-01-29 Thread Stefan Sperling
On Mon, Jan 16, 2017 at 05:26:05PM +0100, Imre Vadász wrote: > Hi, > This patch updates the struct iwm_scan_results_notif to FW Api version 3, > and removes the unused enum iwm_scan_complete_status status codes, as well > as the deprecated/unused struct iwm_scan_complete_notif. > > This correspond

Re: 11n support for athn(4)

2017-01-29 Thread Stefan Sperling
On Sun, Jan 29, 2017 at 07:49:56AM +0200, Timo Myyrä wrote: > Hmm, I've been running the 11n for a while and it seems to be a lot slower > than > 11g for me. Just did quick benchmark using tcpbench between OpenBSD hostAP > (athn) and > laptop (iwn). It looks when my athn is in 11n mode I get arou