Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2015 15:27:55 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287258 - head/sys/dev/mmc/host
Message-ID:  <201508281527.t7SFRtfZ037098@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Fri Aug 28 15:27:55 2015
New Revision: 287258
URL: https://svnweb.freebsd.org/changeset/base/287258

Log:
  Move dwmmc.h to dwmmc_reg.h. This is in preperation for adding support to
  subclass the dwmmc driver to allow SoC specific attachments.
  
  Sponsored by:	ABT Systems Ltd

Added:
  head/sys/dev/mmc/host/dwmmc_reg.h
     - copied, changed from r287249, head/sys/dev/mmc/host/dwmmc.h
Deleted:
  head/sys/dev/mmc/host/dwmmc.h
Modified:
  head/sys/dev/mmc/host/dwmmc.c

Modified: head/sys/dev/mmc/host/dwmmc.c
==============================================================================
--- head/sys/dev/mmc/host/dwmmc.c	Fri Aug 28 14:50:36 2015	(r287257)
+++ head/sys/dev/mmc/host/dwmmc.c	Fri Aug 28 15:27:55 2015	(r287258)
@@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/cpu.h>
 #include <machine/intr.h>
 
-#include <dev/mmc/host/dwmmc.h>
+#include <dev/mmc/host/dwmmc_reg.h>
 
 #include "mmcbr_if.h"
 

Copied and modified: head/sys/dev/mmc/host/dwmmc_reg.h (from r287249, head/sys/dev/mmc/host/dwmmc.h)
==============================================================================
--- head/sys/dev/mmc/host/dwmmc.h	Fri Aug 28 09:38:18 2015	(r287249, copy source)
+++ head/sys/dev/mmc/host/dwmmc_reg.h	Fri Aug 28 15:27:55 2015	(r287258)
@@ -30,6 +30,9 @@
  * $FreeBSD$
  */
 
+#ifndef DEV_MMC_HOST_DWMMC_REG_H
+#define DEV_MMC_HOST_DWMMC_REG_H
+
 #define	SDMMC_CTRL		0x0	/* Control Register */
 #define	 SDMMC_CTRL_USE_IDMAC	(1 << 25)	/* Use Internal DMAC */
 #define	 SDMMC_CTRL_DMA_ENABLE	(1 << 5)	/* */
@@ -150,3 +153,5 @@
 #define	 SDMMC_CLKSEL_SAMPLE_SHIFT	0
 #define	 SDMMC_CLKSEL_DRIVE_SHIFT	16
 #define	 SDMMC_CLKSEL_DIVIDER_SHIFT	24
+
+#endif /* DEV_MMC_HOST_DWMMC_REG_H */



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