Page MenuHomeFreeBSD

linux: add Linux i2c-dev ioctl compatibility support
Needs ReviewPublic

Authored by mr.yaoxin_outlook.com on Sat, Apr 4, 6:16 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Implement Linux I2C ioctl translation in the Linux compatibility layer
and wire iicbus cdevs up for in-kernel rdwr handling.
Support common i2c-dev requests including SLAVE, FUNCS, and RDWR,
while rejecting unsupported 10-bit and SMBus operations.

Signed-off-by: YAO, Xin <mr.yaoxin@outlook.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71959
Build 68842: arc lint + arc unit