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)
Sun, Dec 28, 12:26 AM
Unknown Object (File)
Nov 14 2025, 5:12 AM
Unknown Object (File)
Nov 14 2025, 5:12 AM
Unknown Object (File)
Nov 14 2025, 5:12 AM
Unknown Object (File)
Nov 14 2025, 2:34 AM
Unknown Object (File)
Nov 12 2025, 3:23 PM
Unknown Object (File)
Nov 10 2025, 10:35 PM
Unknown Object (File)
Oct 29 2025, 1:39 PM

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