Re: vldcp(4/sparc64), magma(4) and spif(4) kqfilter

2020-05-23 Thread Mark Kettenis
> Date: Sat, 23 May 2020 12:42:04 +0200 > From: Martin Pieuchot > > On 21/05/20(Thu) 14:44, Mark Kettenis wrote: > > > Date: Wed, 20 May 2020 14:39:05 +0200 > > > From: Martin Pieuchot > > > Cc: tech@openbsd.org > > > [...] > > > Diff below fixed the cbus_intr_setenabled() line and `avail' calcu

Re: vldcp(4/sparc64), magma(4) and spif(4) kqfilter

2020-05-23 Thread Martin Pieuchot
On 21/05/20(Thu) 14:44, Mark Kettenis wrote: > > Date: Wed, 20 May 2020 14:39:05 +0200 > > From: Martin Pieuchot > > Cc: tech@openbsd.org > > [...] > > Diff below fixed the cbus_intr_setenabled() line and `avail' calculation. > > Is it what you were pointing? > > Yes. But I think it still isn't

Re: vldcp(4/sparc64), magma(4) and spif(4) kqfilter

2020-05-21 Thread Mark Kettenis
> Date: Wed, 20 May 2020 14:39:05 +0200 > From: Martin Pieuchot > Cc: tech@openbsd.org > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > > On 20/05/20(Wed) 12:18, Mark Kettenis wrote: > > > Date: Wed, 20 May 2020 11:33:24 +0200 > > > From: Martin Pieuchot > > > > > > Dif

Re: vldcp(4/sparc64), magma(4) and spif(4) kqfilter

2020-05-20 Thread Martin Pieuchot
On 20/05/20(Wed) 12:18, Mark Kettenis wrote: > > Date: Wed, 20 May 2020 11:33:24 +0200 > > From: Martin Pieuchot > > > > Diff below implements kqfilter for the 3 remaining drivers in the tree, > > that I could find, supporting poll(2) but not kqueue(2). > > > > magma(4) and spif(4) call seltrue(

Re: vldcp(4/sparc64), magma(4) and spif(4) kqfilter

2020-05-20 Thread Mark Kettenis
> Date: Wed, 20 May 2020 11:33:24 +0200 > From: Martin Pieuchot > > Diff below implements kqfilter for the 3 remaining drivers in the tree, > that I could find, supporting poll(2) but not kqueue(2). > > magma(4) and spif(4) call seltrue() so their diff is trivial. > > This change is required to

vldcp(4/sparc64), magma(4) and spif(4) kqfilter

2020-05-20 Thread Martin Pieuchot
Diff below implements kqfilter for the 3 remaining drivers in the tree, that I could find, supporting poll(2) but not kqueue(2). magma(4) and spif(4) call seltrue() so their diff is trivial. This change is required to be able to switch poll(2) and select(2) to use the *kqfilter() handlers on spar