svn commit: r323721 - head/sys/cam/mmc
Ilya Bakulin
kibab at FreeBSD.org
Mon Sep 18 20:17:09 UTC 2017
Author: kibab
Date: Mon Sep 18 20:17:08 2017
New Revision: 323721
URL: https://svnweb.freebsd.org/changeset/base/323721
Log:
Add kern.features flag for MMCCAM
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.
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D12386
Modified:
head/sys/cam/mmc/mmc_xpt.c
Modified: head/sys/cam/mmc/mmc_xpt.c
==============================================================================
--- head/sys/cam/mmc/mmc_xpt.c Mon Sep 18 20:09:17 2017 (r323720)
+++ head/sys/cam/mmc/mmc_xpt.c Mon Sep 18 20:17:08 2017 (r323721)
@@ -63,6 +63,8 @@ __FBSDID("$FreeBSD$");
#include <machine/_inttypes.h> /* for PRIu64 */
#include "opt_cam.h"
+FEATURE(mmccam, "CAM-based MMC/SD/SDIO stack");
+
static struct cam_ed * mmc_alloc_device(struct cam_eb *bus,
struct cam_et *target, lun_id_t lun_id);
static void mmc_dev_async(u_int32_t async_code, struct cam_eb *bus,
More information about the svn-src-all
mailing list