CVS commit: src/sys/net

2022-11-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 25 06:18:42 UTC 2022 Modified Files: src/sys/net: if.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.527 -r1.528 src/sys/net/if.c Please note that diffs are not public

CVS commit: src/sys/net

2022-11-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 25 06:18:42 UTC 2022 Modified Files: src/sys/net: if.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.527 -r1.528 src/sys/net/if.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 24 21:07:05 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Mention where in the datasheet the compensation algorithms came from. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 24 21:07:05 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Mention where in the datasheet the compensation algorithms came from. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/arch/x86/pci

2022-11-24 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 24 21:03:38 UTC 2022 Modified Files: src/sys/arch/x86/pci: amdzentemp.c Log Message: match zen3 "cezanne" (ryzen 5000-series APU.) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/arch/x86/pci

2022-11-24 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 24 21:03:38 UTC 2022 Modified Files: src/sys/arch/x86/pci: amdzentemp.c Log Message: match zen3 "cezanne" (ryzen 5000-series APU.) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

Re: CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Taylor R Campbell writes: [snip] > The issue here isn't the duration of the delay -- just the mechanism. > Sleeping for 35ms with kpause(9) is fine, but busy-waiting on the CPU > for 35ms with delay(9) is not (unless HZ is set to something absurdly > low like 10 instead of the usual 100, but I

Re: CVS commit: src/sys/dev/i2c

2022-11-24 Thread Taylor R Campbell
> Date: Wed, 23 Nov 2022 01:42:13 -0500 > From: Brad Spencer > > Simon Burge writes: > > > + delay(35000); > > > > This will spin for 35 milliseconds (per sensor read if I read this > > correctly). Can you please look at using kpause(9) for this delay? > > See some other i2c drivers for