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 note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/i2c/i2c_io.h diff -u src/sys/dev/i2c/i2c_io.h:1.4 src/sys/dev/i2c/i2c_io.h:1.5 --- src/sys/dev/i2c/i2c_io.h:1.4 Sat Oct 28 06:27:32 2017 +++ src/sys/dev/i2c/i2c_io.h Wed Jun 29 15:34:15 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: i2c_io.h,v 1.4 2017/10/28 06:27:32 riastradh Exp $ */ +/* $NetBSD: i2c_io.h,v 1.5 2022/06/29 15:34:15 mlelstv Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -99,8 +99,8 @@ typedef struct i2c_ioctl_exec { void *iie_buf; /* pointer to data buffer */ size_t iie_buflen; /* length of data buffer */ } i2c_ioctl_exec_t; -#define I2C_EXEC_MAX_CMDLEN 32 -#define I2C_EXEC_MAX_BUFLEN 32 +#define I2C_EXEC_MAX_CMDLEN 4096 +#define I2C_EXEC_MAX_BUFLEN 4096 #define I2C_IOCTL_EXEC _IOW('I', 0, i2c_ioctl_exec_t)