Re: iwx background scan fix

2023-08-30 Thread Stefan Sperling
On Wed, Aug 30, 2023 at 11:07:17PM +, Peter Stuge wrote: > Stefan Sperling wrote: > > "Active scan" means the device will send probe requests containing a > > desired SSID, soliciting immediate probe responses from APs which > > announce the desired SSID. > > Does this broadcast many known

Re: iwx background scan fix

2023-08-30 Thread Peter Stuge
Stefan Sperling wrote: > "Active scan" means the device will send probe requests containing a > desired SSID, soliciting immediate probe responses from APs which > announce the desired SSID. Does this broadcast many known SSIDs or only a single desired one? //Peter

Re: Regularize shift $((OPTIND - 1)) after getopts

2023-08-30 Thread Andreas Kusalananda Kähäri
On Wed, Aug 30, 2023 at 12:31:08PM -0700, Simon Branch wrote: > Hello tech@, > > In an arithmetic substitution -- that is, the $(( ... )) construct in a > shell script -- one can reference variables either with ($a) or without > (a) the dollar sign. However, the latter is slightly better: the >

Re: dt(4), hardclock(9): move interval, profile providers to dedicated callback

2023-08-30 Thread George Koehler
On Fri, 25 Aug 2023 21:00:34 -0500 Scott Cheloha wrote: > @@ -148,4 +185,18 @@ dt_prov_interval_enter(struct dt_provide > } > smr_read_leave(); > return 0; > +} > + > +void > +dt_prov_profile_intr(struct clockintr *cl, void *cf) > +{ > + uint64_t count, i; > + struct

Regularize shift $((OPTIND - 1)) after getopts

2023-08-30 Thread Simon Branch
Hello tech@, In an arithmetic substitution -- that is, the $(( ... )) construct in a shell script -- one can reference variables either with ($a) or without (a) the dollar sign. However, the latter is slightly better: the variable is interpreted as an integer, and then the integer is used inside

Re: JH7110 PCIe device tree binding update

2023-08-30 Thread Jonathan Matthew
On Wed, Aug 30, 2023 at 01:19:42PM +0800, Kevin Lo wrote: > On Tue, Aug 29, 2023 at 09:15:41PM +0200, Mark Kettenis wrote: > > > > > Date: Tue, 29 Aug 2023 11:58:23 +0200 > > > From: Mark Kettenis > > > > > > Upstreaming of the JH7110 PCIe device tree bindings isn't finished > > > yet, but it

Re: introduce ctl_results CTL_RES_OPNOTSUPP for portable

2023-08-30 Thread Theo Buehler
On Wed, Aug 30, 2023 at 09:41:35AM +0200, Claudio Jeker wrote: > In portable some features are disabled and requests by bgpctl should > result in an error that is reasonable. > > For example bgpctl show fib returns "permission denied" in > kroute-disabled.c which is not great. So lets have an

introduce ctl_results CTL_RES_OPNOTSUPP for portable

2023-08-30 Thread Claudio Jeker
In portable some features are disabled and requests by bgpctl should result in an error that is reasonable. For example bgpctl show fib returns "permission denied" in kroute-disabled.c which is not great. So lets have an explicit error for unavailable features in -portable. -- :wq Claudio

Re: Add Phison PS5021 ID

2023-08-30 Thread Jonathan Gray
On Wed, Aug 30, 2023 at 02:07:53PM +0800, Kevin Lo wrote: > nvme0 at pci3 dev 0 function 0 vendor "Phison", unknown product 0x5021 rev > 0x01: intx, NVMe 1.4 > nvme0: TEAM TM8FPK500G, firmware ELFMB0.6, serial TPBF2210110040500017 > > The diff below adds another Phison NVMe device id. > ok?

Add Phison PS5021 ID

2023-08-30 Thread Kevin Lo
nvme0 at pci3 dev 0 function 0 vendor "Phison", unknown product 0x5021 rev 0x01: intx, NVMe 1.4 nvme0: TEAM TM8FPK500G, firmware ELFMB0.6, serial TPBF2210110040500017 The diff below adds another Phison NVMe device id. ok? Index: sys/dev/pci/pcidevs