CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 18 23:26:46 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: Correct a comment. To generate a diff of this commit: cvs rdiff -u -r1.78.2.6 -r1.78.2.7 src/sys/dev/i2c/i2c.c Please note

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 17 00:05:56 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c i2cvar.h Log Message: Remove "count" from the device enumeration callback arguments. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 22:56:48 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: Tweak previous to deal better with "device tree node describes empty DIMM slot" problem. To generate a diff of this

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 22:53:57 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: Go back to probing in the direct config case, and return a high confidence match value if the SPD probe succeeds. Thi

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 21:04:59 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: Check for errors from iic_acquire_bus() in iic_ioctl_exec(). To generate a diff of this commit: cvs rdiff -u -r1.78.2.4 -r1

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 21:03:38 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: - Set D_MCLOSE in the iic_cdevsw so that we get a d_close call for each close so that the module ref counting works properl

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 15:40:20 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: Check for errors from iic_acquire_bus(). To generate a diff of this commit: cvs rdiff -u -r1.21.4.2 -r1.21.4.3 src/s

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 15:27:12 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: The last change had an unfortunate side-effect on empty DIMM slots, so roll that back. Instead, if we used direct con

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 05:16:21 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: SPD stands for "Serial Presence Detect". This implies that if we're using direct configuration that we should treat t

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 04:40:08 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: Rather than allocating 8KB (!!) of space per i2c bus for a sparsely populated array of child devices, use a sorted list inste

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 03:57:52 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: pcai2cmux.c Log Message: No need to device_set_handle(); it's done for us by the i2c enumeration code. To generate a diff of this commit: cvs

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 9 23:26:53 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: pcai2cmux.c Log Message: Don't include fdtvar.h directly here. To generate a diff of this commit: cvs rdiff -u -r1.8.4.1 -r1.8.4.2 src/sys/dev

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 9 23:19:10 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmuxvar.h Log Message: Revert most of previous -- some consumers of this file still have ACPI-specific requirements. To generate a diff of t

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 16:56:10 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: adadc.c fcu.c Log Message: ia->ia_cookie -> devhandle_to_of(device_handle(self)) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 16:46:43 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: ac100.c anxedp.c as3722.c axp20x.c axppmic.c cwfg.c es8316ac.c fan53555.c max77620.c pca9685.c pcf8563.c rkpmic.c sy8106a

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 15:44:12 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: ihidev.c ihidev.h Log Message: Rather than using the "cookie" from the i2c_attach_args, use the device handle that's already associated with our

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 15:10:44 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmux.c i2cmuxvar.h Log Message: Use device_enumerate_children() to eliminate all of the ACPI-specific code and most of the FDT-specific code f

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 14:23:15 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: files.i2c i2c_subr.c i2cmux.c i2cvar.h Log Message: - Add an optional bus number to i2cbus_attach_args, and a corresponding option

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 11:34:38 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: iic_print_direct(): In the "not configured" case, parenthetically print the first element of the compat list, if we got a com

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-04-25 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Apr 25 21:45:16 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c i2cvar.h Log Message: Stop using a prop_array of child device data to perform direct configuration of i2c devices. Instead, introduce and