Page MenuHomeFreeBSD

Only build USB-related modules if MK_USB != no
Needs ReviewPublic

Authored by ngie on Fri, Feb 27, 9:02 PM.
Tags
None
Referenced Files
F146283449: D55576.id172899.diff
Sun, Mar 1, 9:42 AM
F146283177: D55576.id.diff
Sun, Mar 1, 9:39 AM
F146283125: D55576.id172895.diff
Sun, Mar 1, 9:38 AM
F146283114: D55576.id172899.diff
Sun, Mar 1, 9:38 AM
F146282269: D55576.id.diff
Sun, Mar 1, 9:27 AM
F146215917: D55576.diff
Sat, Feb 28, 8:08 PM
Unknown Object (File)
Sat, Feb 28, 4:04 AM
Unknown Object (File)
Sat, Feb 28, 12:40 AM

Details

Reviewers
imp
Summary

This change moves the thunderbolt module and other USB modules under a
MK_USB != no conditional to ensure that users not desiring USB support
can build systems without USB-specific drivers.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71086
Build 67969: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Fri, Feb 27, 9:02 PM
sys/modules/Makefile
949–954

This went missing when resolving a merge conflict on my branch after shuffling the stack around. This wasn't intentional.

ngie removed a subscriber: imp.
ngie added subscribers: dab, vangyzen, bdrewery, USB.

So there's two competing mechanism now for usb: the kernel config file (which better not be setting this) and the user WITH/WITHOUT mechanism. This is a bit weird and novel for the kernel and may or may not be easy to support in configng.

This revision is now accepted and ready to land.Fri, Feb 27, 9:07 PM

Sorry but where are _rtwn_usb and _usb defined now?

  • Re-add drivers that got accidentally removed in the earlier diff.
  • Put ufshci back: I mistakingly though the driver was related to USB, but it's not.
This revision now requires review to proceed.Fri, Feb 27, 10:47 PM