Page MenuHomeFreeBSD

nvme.ko: Don't include nvme_util.c
ClosedPublic

Authored by jhb on Jun 5 2025, 8:59 PM.
Tags
None
Referenced Files
F172701500: D50705.id157121.diff
Sun, Sep 20, 8:53 AM
F172701463: D50705.id156590.diff
Sun, Sep 20, 8:52 AM
F172701220: D50705.diff
Sun, Sep 20, 8:49 AM
Unknown Object (File)
Wed, Sep 16, 10:19 AM
Unknown Object (File)
Mon, Sep 7, 5:18 AM
Unknown Object (File)
Mon, Sep 7, 5:18 AM
Unknown Object (File)
Mon, Sep 7, 5:18 AM
Unknown Object (File)
Mon, Sep 7, 1:13 AM
Subscribers

Details

Summary

This file is already included in cam.ko which is nvme.ko depends on
unconditionally.

Sponsored by: Chelsio Communications

Diff Detail

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

Event Timeline

jhb requested review of this revision.Jun 5 2025, 8:59 PM

I've tested this with numerous kernels combinations:

  • kernel without CAM but with nvme + nvd
  • kernel without nvme (MINIMAL was too big) but with CAM, nvme.ko can be kldloaded and works
  • kernel without CAM or nvme, nvme.ko can be kldloaded and pulls in cam.ko as an automatic dependency and works
This revision is now accepted and ready to land.Jun 5 2025, 9:34 PM
This revision was automatically updated to reflect the committed changes.