Page MenuHomeFreeBSD

if_bnxt: add support for SIOCGI2CPB page/bank i2c requests
ClosedPublic

Authored by sumit.saxena_broadcom.com on Sep 10 2026, 2:40 PM.
Tags
None
Referenced Files
F175849446: D59573.id186387.diff
Tue, Oct 13, 9:07 PM
Unknown Object (File)
Mon, Oct 12, 3:43 PM
Unknown Object (File)
Mon, Oct 12, 3:34 PM
Unknown Object (File)
Mon, Oct 12, 3:26 PM
Unknown Object (File)
Mon, Oct 12, 1:16 PM
Unknown Object (File)
Mon, Oct 12, 10:55 AM
Unknown Object (File)
Mon, Oct 12, 3:36 AM
Unknown Object (File)
Sun, Oct 11, 4:23 PM
Subscribers

Details

Summary

Advertise IFLIB_I2C_PAGE_BANK and forward the requested page/bank to
firmware, so CMIS optics can be read correctly instead of falling
back to bogus legacy SFF-8472 decoding. Also fix bnxt_i2c_req() to
return positive errno values.

Signed-off-by: gallatin@netflix.com

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/dev/bnxt/bnxt_en/if_bnxt.c
5143

This one line is plenty. Please delete the rest of the comment

5152–5160

Seems more like a review from an llm than a code comment. Please shorten it to one line or remove it.

sys/dev/bnxt/bnxt_en/if_bnxt.c
5143

Ack

5152–5160

Ack

This revision is now accepted and ready to land.Tue, Sep 29, 4:44 PM