Date: Tue, 12 Oct 2021 12:01:01 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258994] iic(4): Panics on Nanopi Neo when using 16-bit device addressing width: panic: Assertion strlen(description) < MAX_W_NAME failed at ... sys/kern/subr_witness.c:1914 Message-ID: <bug-258994-227-hHZHvtCrar@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-258994-227@https.bugs.freebsd.org/bugzilla/> References: <bug-258994-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258994 --- Comment #5 from alydiomc@yahoo.com --- on i2c(8), i also adjusted the parsing of offset. Seems LSB is being sent first. I need MSB first. off.off16 =3D (((uint16_t)i2c_opt.off << 8) & 0xff00) | (((uint16_t)i2c_op= t.off >> 8) & 0x00ff); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258994-227-hHZHvtCrar>