Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Bump max transaction size from 32 Bytes to 4kB.
details: https://anonhg.NetBSD.org/src/rev/5cce099b97f3
branches: trunk
changeset: 368216:5cce099b97f3
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Wed Jun 29 15:34:15 2022 +0000
description:
Bump max transaction size from 32 Bytes to 4kB.
diffstat:
sys/dev/i2c/i2c_io.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 63aaeaabd8e5 -r 5cce099b97f3 sys/dev/i2c/i2c_io.h
--- a/sys/dev/i2c/i2c_io.h Wed Jun 29 15:33:45 2022 +0000
+++ b/sys/dev/i2c/i2c_io.h Wed Jun 29 15:34:15 2022 +0000
@@ -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 @@
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)
Home |
Main Index |
Thread Index |
Old Index