Re: usb_init_task(9): correct type

2021-01-16 Thread Emil Engler
On 1/16/21 8:00 AM, Anton Lindqvist wrote: Hi, The usb_init_task(9) macro accepts a `struct usb_task'. If it's macro, is it even correct to show the types it accepts in it's "prototype"? Other parts of the documentation (kqueue(2) EV_SET for example) leave all types out.

Re: ugen(4) and uhidev(4) data toggle problem

2021-01-16 Thread Greg Steuck
Hi Marcus, Marcus Glocker writes: > There are a few threads going on related to problems with ugen(4) and > uhidev(4) devices on xhci(4). This is related to the issue patrick@ > already explained; while ehci(4) can save the last data toggle state, > xhci(4) resets it on every open/close cycle,

Re: sysctl ip.forwarding 2

2021-01-16 Thread Greg Steuck
Alexander Bluhm writes: > As documented in sysctl(2) net.inet.ip.forwarding can be 2. ... > > Index: netinet/ip_input.c > === > RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/ip_input.c,v > retrieving revision 1.353 > diff -u -p

Re: all platforms: isolate hardclock(9) from statclock()

2021-01-16 Thread Visa Hankala
On Thu, Jan 14, 2021 at 12:46:38PM -0600, Scott Cheloha wrote: > Still need tests on these platforms: > > - alpha > - i386 > - mips64 (octeon will be sufficient) > - sgi > - sh Tested sys/kern/kern_clock.c and sys/arch/mips64/mips64/clock.c on loongson (also arch/loongson/dev/glxclk.c), octeon

Re: bpf_mtap_ether doesnt need to encode packet priority

2021-01-16 Thread Vitaliy Makkoveev
ok mvs@ > On 15 Jan 2021, at 04:14, David Gwynne wrote: > > bpf should be showing what will be or has been on the wire, which is > what the ether_vtag in the mbuf has. the prio is either about to be > decoded from the tag on the wya into the stack, or has been encoded by > vlan(4) on the way

man: help pagers recognise HTML files as such

2021-01-16 Thread Klemens Nanni
On rare occasions I'd like to use the following idiom to read manuals in browsers, mostly to better readability and navigation of long sections: MANPAGER=netsurf-gtk3 man -Thtml jq (jq(1) has lots of examples and HTML is nicer to read when it comes to literal input and output for

Re: 68.html: fix typo

2021-01-16 Thread Visa Hankala
On Fri, Jan 15, 2021 at 01:56:19AM +, Yifei ZHAN wrote: > I spotted a typo in www/68.html and this patch will fix it. Committed, thanks. > Index: 68.html > === > RCS file: /cvs/www/68.html,v > retrieving revision 1.85 > diff -u

Re: Update model and resolution details for Loongson Lynloong

2021-01-16 Thread Visa Hankala
On Fri, Jan 15, 2021 at 01:38:14AM +, Yifei ZHAN wrote: > The following patches will update the hardware note file and loongson.html > with the corrent screen resolution and model details for Loongson > Lynloong. Thanks, committed with a rewrapped line in loongson.html. > Index:

Re: loongson.html: update link for PMON repository

2021-01-16 Thread Visa Hankala
On Fri, Jan 15, 2021 at 12:53:35AM +, Yifei ZHAN wrote: > The following patch will update the link for PMON on loongson.html. The > existing site for PMON seems to be abandoned now and development of pmon > on loongson continues in Loongnix's git repository. Thanks, I have updated the link.

Re: usb_init_task(9): correct type

2021-01-16 Thread Klemens Nanni
On Sat, Jan 16, 2021 at 08:00:25AM +0100, Anton Lindqvist wrote: > The usb_init_task(9) macro accepts a `struct usb_task'. This matches the manuals wording The usb_init_task() macro prepares the task structure task [...] where "task" is marked up but fails to show up in the synopsis; surely