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)
Thu, Aug 13, 2:05 PM
Unknown Object (File)
Wed, Aug 5, 8:37 AM
Unknown Object (File)
Wed, Aug 5, 5:25 AM
Unknown Object (File)
Tue, Aug 4, 5:55 AM
Unknown Object (File)
Thu, Jul 23, 6:35 AM
Unknown Object (File)
Jul 17 2026, 3:07 AM
Unknown Object (File)
Jul 11 2026, 10:38 AM
Unknown Object (File)
Jun 21 2026, 8:14 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