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)
Wed, Aug 20, 6:29 PM
Unknown Object (File)
Thu, Aug 14, 1:00 AM
Unknown Object (File)
Sun, Aug 3, 10:10 AM
Unknown Object (File)
Tue, Jul 29, 8:24 AM
Unknown Object (File)
Tue, Jul 29, 7:18 AM
Unknown Object (File)
Tue, Jul 29, 6:15 AM
Unknown Object (File)
May 6 2025, 8:23 AM
Unknown Object (File)
Mar 28 2025, 1:34 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