Page MenuHomeFreeBSD

linuxkpi: Add I2C_NAME_SIZE and I2C_MODULE_PREFIX defines
ClosedPublic

Authored by manu on Aug 16 2022, 12:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 21, 12:45 PM
Unknown Object (File)
Mon, Apr 20, 8:39 PM
Unknown Object (File)
Mar 25 2026, 9:10 PM
Unknown Object (File)
Mar 19 2026, 2:48 PM
Unknown Object (File)
Mar 9 2026, 2:19 PM
Unknown Object (File)
Mar 7 2026, 6:14 PM
Unknown Object (File)
Jan 25 2026, 2:20 AM
Unknown Object (File)
Jan 25 2026, 1:25 AM

Details

Summary

Both are needed by drm-kmod

Obtained from: drm-kmod
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.Aug 16 2022, 12:35 PM
hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
73

What field does this macro limit writing to? In Linux it is used two places:

struct i2c_client {
 char name[...]

and

struct i2c_device_id {
        char name[...];

Where will this be used in FreeBSD?

This revision is now accepted and ready to land.Aug 16 2022, 5:32 PM