Page MenuHomeFreeBSD

Add kern.features flag for MMCCAM
ClosedPublic

Authored by kibab on Sep 15 2017, 8:05 PM.
Tags
None
Referenced Files
F135125684: D12386.id33206.diff
Thu, Nov 6, 5:13 PM
F135096843: D12386.id.diff
Thu, Nov 6, 11:19 AM
F135096828: D12386.id33125.diff
Thu, Nov 6, 11:19 AM
F135083218: D12386.diff
Thu, Nov 6, 8:23 AM
Unknown Object (File)
Tue, Nov 4, 10:18 PM
Unknown Object (File)
Sat, Nov 1, 3:08 AM
Unknown Object (File)
Fri, Oct 31, 12:38 AM
Unknown Object (File)
Thu, Oct 30, 10:57 PM
Subscribers
None

Details

Summary

kern.features.mmcam will be present and equal to 1 if the kernel has been compiled with option MMCCAM.
This will help sdio-related userland tools to fail-fast if running on the kernel without MMCCAM enabled.

Test Plan
  • Compile GENERIC-MMCCAM of any other kernel with 'options MMCCAM';
  • Upon booting, type sysctl kern.features.mmccam, the output should be 1.
  • If running on non-MMCCAM kernel, there will be an error.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 18 2017, 2:45 PM
This revision was automatically updated to reflect the committed changes.