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 */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"