Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2017 20:17:08 +0000 (UTC)
From:      Ilya Bakulin <kibab@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323721 - head/sys/cam/mmc
Message-ID:  <201709182017.v8IKH8aB034060@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709182017.v8IKH8aB034060>