CVS commit: src/sys/dev/i2c

2024-05-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 18 00:02:04 UTC 2024 Modified Files: src/sys/dev/i2c: dbcool.c sgsmix.c Log Message: Remove unnecessary include of . To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/i2c/dbcool.c cvs rdiff -u

CVS commit: src/sys/dev/i2c

2024-05-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 18 00:02:04 UTC 2024 Modified Files: src/sys/dev/i2c: dbcool.c sgsmix.c Log Message: Remove unnecessary include of . To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/i2c/dbcool.c cvs rdiff -u

CVS commit: src/sys/dev/i2c

2024-04-29 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Apr 29 21:25:34 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): make driver compile with ACPI option disabled. This change unlikely useful in practice, but adds consistency to already available

CVS commit: src/sys/dev/i2c

2024-04-29 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Apr 29 21:25:34 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): make driver compile with ACPI option disabled. This change unlikely useful in practice, but adds consistency to already available

CVS commit: src/sys/dev/i2c

2024-02-11 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Feb 11 09:20:08 UTC 2024 Modified Files: src/sys/dev/i2c: w83795g.c Log Message: s/Nuvaton/Nuvoton/ in log message. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/w83795g.c Please note that

CVS commit: src/sys/dev/i2c

2024-02-11 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Feb 11 09:20:08 UTC 2024 Modified Files: src/sys/dev/i2c: w83795g.c Log Message: s/Nuvaton/Nuvoton/ in log message. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/w83795g.c Please note that

CVS commit: src/sys/dev/i2c

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:27:24 UTC 2023 Modified Files: src/sys/dev/i2c: es8316ac.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/i2c

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:27:24 UTC 2023 Modified Files: src/sys/dev/i2c: es8316ac.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/dev/i2c

2023-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 1 19:36:46 UTC 2023 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Use iic_use_direct_match as intended. This appears to have been a mistake; there's no obvious explanation in the commit history

CVS commit: src/sys/dev/i2c

2023-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 1 19:36:46 UTC 2023 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Use iic_use_direct_match as intended. This appears to have been a mistake; there's no obvious explanation in the commit history

CVS commit: src/sys/dev/i2c

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:10:02 UTC 2023 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/ims.c Please note that diffs

CVS commit: src/sys/dev/i2c

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:10:02 UTC 2023 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/ims.c Please note that diffs

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jan 24 07:09:48 UTC 2023 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: Don't panic with invalid user data, just return an error. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jan 24 07:09:48 UTC 2023 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: Don't panic with invalid user data, just return an error. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 23 22:20:59 UTC 2023 Modified Files: src/sys/dev/i2c: m41st84reg.h Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/m41st84reg.h Please note that diffs are

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 23 22:20:59 UTC 2023 Modified Files: src/sys/dev/i2c: m41st84reg.h Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/m41st84reg.h Please note that diffs are

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 02:29:37 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Use a better choice for the print format string. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/bmx280.c Please

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 02:29:37 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Use a better choice for the print format string. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/bmx280.c Please

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 00:47:51 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Correct the humidity conversion for the BME280 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/bmx280.c Please note

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 00:47:51 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Correct the humidity conversion for the BME280 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/bmx280.c Please note

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

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

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

2022-11-22 Thread Brad Spencer
Simon Burge writes: > Hi Brad, > >> Module Name: src >> Committed By:brad >> Date:Tue Nov 22 19:40:31 UTC 2022 >> >> Modified Files: >> >> src/sys/dev/i2c: bmx280.c >> >> Log Message: >> >> Read the datasheet more closely and put in some delays. The chip will >>

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

2022-11-22 Thread Simon Burge
Hi Brad, > Module Name: src > Committed By: brad > Date: Tue Nov 22 19:40:31 UTC 2022 > > Modified Files: > > src/sys/dev/i2c: bmx280.c > > Log Message: > > Read the datasheet more closely and put in some delays. The chip will > just return junk if the wait is not long enough to

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Nov 22 19:40:31 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Read the datasheet more closely and put in some delays. The chip will just return junk if the wait is not long enough to allow a measurement to

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Nov 22 19:40:31 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Read the datasheet more closely and put in some delays. The chip will just return junk if the wait is not long enough to allow a measurement to

CVS commit: src/sys/dev/i2c

2022-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 30 11:51:20 UTC 2022 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add GPIO support. PR# kern/57030 To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/i2c/axppmic.c Please note that

CVS commit: src/sys/dev/i2c

2022-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 30 11:51:20 UTC 2022 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add GPIO support. PR# kern/57030 To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/i2c/axppmic.c Please note that

CVS commit: src/sys/dev/i2c

2022-10-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 24 10:17:40 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: iic(4): Use config_detach_children to simplify. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/dev/i2c/i2c.c Please

CVS commit: src/sys/dev/i2c

2022-10-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 24 10:17:40 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: iic(4): Use config_detach_children to simplify. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/dev/i2c/i2c.c Please

CVS commit: src/sys/dev/i2c

2022-07-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jul 23 03:05:27 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: If there is a compat string list, parenthetically print the first one in iic_print_direct(). (From thorpej-i2c-spi-conf2 branch.) To generate a

CVS commit: src/sys/dev/i2c

2022-07-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jul 23 03:05:27 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: If there is a compat string list, parenthetically print the first one in iic_print_direct(). (From thorpej-i2c-spi-conf2 branch.) To generate a

CVS commit: src/sys/dev/i2c

2022-07-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jul 20 22:58:35 UTC 2022 Modified Files: src/sys/dev/i2c: pcai2cmux.c Log Message: Improve error reporting. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/pcai2cmux.c Please note that diffs

CVS commit: src/sys/dev/i2c

2022-07-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jul 20 22:58:35 UTC 2022 Modified Files: src/sys/dev/i2c: pcai2cmux.c Log Message: Improve error reporting. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/pcai2cmux.c Please note that diffs

CVS commit: src/sys/dev/i2c

2022-07-02 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Jul 2 16:28:39 UTC 2022 Modified Files: src/sys/dev/i2c: lm87.c Log Message: s/tempurature/temperature/ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/i2c/lm87.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2022-07-02 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Jul 2 16:28:39 UTC 2022 Modified Files: src/sys/dev/i2c: lm87.c Log Message: s/tempurature/temperature/ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/i2c/lm87.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-03-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Mar 30 00:06:51 UTC 2022 Modified Files: src/sys/dev/i2c: am2315.c dbcool.c hytp14.c scmdi2c.c sgp40.c sht3x.c sht4x.c si70xx.c spdmem_i2c.c Log Message: These modules need to depend on iic, not just on i2cexec.

CVS commit: src/sys/dev/i2c

2022-03-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Mar 30 00:06:51 UTC 2022 Modified Files: src/sys/dev/i2c: am2315.c dbcool.c hytp14.c scmdi2c.c sgp40.c sht3x.c sht4x.c si70xx.c spdmem_i2c.c Log Message: These modules need to depend on iic, not just on i2cexec.

CVS commit: src/sys/dev/i2c

2022-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 17 19:34:31 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Minimal hack to pass child devices a devhandle created from the OF or ACPI "cookie". Temporary measure until the i2c autoconfiguration overhaul is

CVS commit: src/sys/dev/i2c

2022-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 17 19:34:31 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Minimal hack to pass child devices a devhandle created from the OF or ACPI "cookie". Temporary measure until the i2c autoconfiguration overhaul is

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jan 15 06:22:30 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/i2c/ihidev.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jan 15 06:22:30 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/i2c/ihidev.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:59 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Prohibit closing an unopened ihidev. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/ihidev.c

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:59 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Prohibit closing an unopened ihidev. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/ihidev.c

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:50 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Avoid reference count overflow. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/i2c/ihidev.c Please

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:50 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Avoid reference count overflow. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/i2c/ihidev.c Please

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:42 UTC 2022 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Sprinkle KERNEL_LOCKED_P assertions. Access to the softc and hidms state is currently kernel-locked. To generate a diff of this

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:42 UTC 2022 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Sprinkle KERNEL_LOCKED_P assertions. Access to the softc and hidms state is currently kernel-locked. To generate a diff of this

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:23 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Take the lock for ihidev_open, ihidev_close. Need this to serialize access to sc_state, sc_refcnt. XXX Should harmonize this with

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:23 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Take the lock for ihidev_open, ihidev_close. Need this to serialize access to sc_state, sc_refcnt. XXX Should harmonize this with

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:45 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Check kmem_alloc(..., KM_NOSLEEP) for failure. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:45 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Check kmem_alloc(..., KM_NOSLEEP) for failure. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:35 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Allocate report buffer with KM_SLEEP. Limited to 64k and only happens on attach anyway. Let's not leave a rake to trip on here.

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:35 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Allocate report buffer with KM_SLEEP. Limited to 64k and only happens on attach anyway. Let's not leave a rake to trip on here.

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:25:49 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c ihidev.h Log Message: ihidev(4): Fix locking and interrupt handler. - Can't run iic_exec in softint because it does cv_wait, at least on some i2c

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:25:49 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c ihidev.h Log Message: ihidev(4): Fix locking and interrupt handler. - Can't run iic_exec in softint because it does cv_wait, at least on some i2c

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 21:32:27 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.h Log Message: ihidev(4): Add missing includes and header guard. Mark the sections that are conventionally separate files for hardware interface (*reg.h)

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 21:32:27 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.h Log Message: ihidev(4): Add missing includes and header guard. Mark the sections that are conventionally separate files for hardware interface (*reg.h)

CVS commit: src/sys/dev/i2c

2021-12-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 19 12:44:35 UTC 2021 Modified Files: src/sys/dev/i2c: tda19988.c Log Message: drm: Fix tda19988 drm build. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/tda19988.c Please note that

CVS commit: src/sys/dev/i2c

2021-12-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 19 12:44:35 UTC 2021 Modified Files: src/sys/dev/i2c: tda19988.c Log Message: drm: Fix tda19988 drm build. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/tda19988.c Please note that

CVS commit: src/sys/dev/i2c

2021-12-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 6 16:24:57 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Check the return value correctly. Pointed out by pgoyette@. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/dev/i2c

2021-12-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 6 16:24:57 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Check the return value correctly. Pointed out by pgoyette@. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/dev/i2c

2021-12-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 6 04:25:36 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Carefully access to the I2C bus in the match function. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/dev/i2c

2021-12-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 6 04:25:36 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Carefully access to the I2C bus in the match function. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/dev/i2c

2021-12-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Dec 1 21:33:19 UTC 2021 Modified Files: src/sys/dev/i2c: sdtemp.c Log Message: Use aprint_debug instead of aprint_error for expected failure. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/dev/i2c

2021-12-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Dec 1 21:33:19 UTC 2021 Modified Files: src/sys/dev/i2c: sdtemp.c Log Message: Use aprint_debug instead of aprint_error for expected failure. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/dev/i2c

2021-11-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Nov 30 05:02:29 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Access byte2... To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/spdmem_i2c.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2021-11-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Nov 30 05:02:29 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Access byte2... To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/spdmem_i2c.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2021-11-14 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Nov 14 18:36:13 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: Fix some regressions that were introduced. One must make sure that you release the i2c bus if you acquire. One must not try to release the i2c bus

CVS commit: src/sys/dev/i2c

2021-11-14 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Nov 14 18:36:13 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: Fix some regressions that were introduced. One must make sure that you release the i2c bus if you acquire. One must not try to release the i2c bus

CVS commit: src/sys/dev/i2c

2021-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 13 13:36:43 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: Brad wants the __did_not_work code back :-) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/sht3x.c Please note

CVS commit: src/sys/dev/i2c

2021-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 13 13:36:43 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: Brad wants the __did_not_work code back :-) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/sht3x.c Please note

CVS commit: src/sys/dev/i2c

2021-11-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 12 22:16:28 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: simplify the code and remove unused (it is in CVS anyway). Try to merge duplicate code. Follow KNF. Brad, please test! To generate a diff of

CVS commit: src/sys/dev/i2c

2021-11-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 12 22:16:28 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: simplify the code and remove unused (it is in CVS anyway). Try to merge duplicate code. Follow KNF. Brad, please test! To generate a diff of

CVS commit: src/sys/dev/i2c

2021-11-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Nov 7 17:14:38 UTC 2021 Modified Files: src/sys/dev/i2c: cwfg.c Log Message: cwfg: update for dts-5.15 binding changes To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/cwfg.c Please note that

CVS commit: src/sys/dev/i2c

2021-11-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Nov 7 17:14:38 UTC 2021 Modified Files: src/sys/dev/i2c: cwfg.c Log Message: cwfg: update for dts-5.15 binding changes To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/cwfg.c Please note that

CVS commit: src/sys/dev/i2c

2021-10-29 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Oct 29 23:23:33 UTC 2021 Modified Files: src/sys/dev/i2c: sht4x.c Log Message: Correct an off by one degree error in the temperature conversion. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/i2c

2021-10-29 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Oct 29 23:23:33 UTC 2021 Modified Files: src/sys/dev/i2c: sht4x.c Log Message: Correct an off by one degree error in the temperature conversion. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/i2c

2021-10-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 20 17:52:44 UTC 2021 Modified Files: src/sys/dev/i2c: sgp40.c Log Message: - fix clang compilation: add "%s" to format string - comma is followed by space - KNF multi-line comments - fold long lines - early returns,

CVS commit: src/sys/dev/i2c

2021-10-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 20 17:52:44 UTC 2021 Modified Files: src/sys/dev/i2c: sgp40.c Log Message: - fix clang compilation: add "%s" to format string - comma is followed by space - KNF multi-line comments - fold long lines - early returns,

CVS commit: src/sys/dev/i2c

2021-10-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 18 14:14:07 UTC 2021 Modified Files: src/sys/dev/i2c: sensirion_voc_algorithm.c Log Message: Fix llvm build: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] To generate a diff

CVS commit: src/sys/dev/i2c

2021-10-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 18 14:14:07 UTC 2021 Modified Files: src/sys/dev/i2c: sensirion_voc_algorithm.c Log Message: Fix llvm build: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] To generate a diff

CVS commit: src/sys/dev/i2c

2021-07-24 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Jul 25 00:11:43 UTC 2021 Modified Files: src/sys/dev/i2c: fcu.c Log Message: don't put CPUs in separate zones, turns out there really isn't much that keeps the airflow apart around them To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2021-07-24 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Jul 25 00:11:43 UTC 2021 Modified Files: src/sys/dev/i2c: fcu.c Log Message: don't put CPUs in separate zones, turns out there really isn't much that keeps the airflow apart around them To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2021-06-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 21 03:12:54 UTC 2021 Modified Files: src/sys/dev/i2c: adm1021.c dbcool.c dstemp.c i2c.c lm75.c pcagpio.c pcf8574.c Log Message: fix proplib deprecation To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2021-06-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 21 03:12:54 UTC 2021 Modified Files: src/sys/dev/i2c: adm1021.c dbcool.c dstemp.c i2c.c lm75.c pcagpio.c pcf8574.c Log Message: fix proplib deprecation To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:41:01 UTC 2021 Modified Files: src/sys/dev/i2c: adm1021.c dstemp.c Log Message: iic_acquire_bus may fail. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/dev/i2c/adm1021.c cvs rdiff -u

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:41:01 UTC 2021 Modified Files: src/sys/dev/i2c: adm1021.c dstemp.c Log Message: iic_acquire_bus may fail. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/dev/i2c/adm1021.c cvs rdiff -u

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:40:13 UTC 2021 Modified Files: src/sys/dev/i2c: am2315.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/am2315.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:40:13 UTC 2021 Modified Files: src/sys/dev/i2c: am2315.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/am2315.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:39:49 UTC 2021 Modified Files: src/sys/dev/i2c: dbcool.c hytp14.c si70xx.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r1.13

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jun 15 04:39:49 UTC 2021 Modified Files: src/sys/dev/i2c: dbcool.c hytp14.c si70xx.c Log Message: avoid double-free To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r1.13

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jun 14 13:52:11 UTC 2021 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: Call sysmon_envsys_destroy() if we receive any error from sysmon, rather than just on some errors. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/i2c

2021-06-14 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Jun 14 13:52:11 UTC 2021 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: Call sysmon_envsys_destroy() if we receive any error from sysmon, rather than just on some errors. To generate a diff of this commit: cvs rdiff

  1   2   3   4   5   6   7   8   9   10   >