[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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Oct 2021 12:01:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258994

--- 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 =  (((uint16_t)i2c_opt.off << 8) & 0xff00) | (((uint16_t)i2c_opt.off
>> 8) & 0x00ff);

-- 
You are receiving this mail because:
You are the assignee for the bug.