From owner-svn-src-all@freebsd.org Fri Aug 28 15:27:56 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E6D09C4AE8; Fri, 28 Aug 2015 15:27:56 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EA351D69; Fri, 28 Aug 2015 15:27:56 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7SFRuVx037101; Fri, 28 Aug 2015 15:27:56 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7SFRtfZ037098; Fri, 28 Aug 2015 15:27:55 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201508281527.t7SFRtfZ037098@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Fri, 28 Aug 2015 15:27:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287258 - head/sys/dev/mmc/host X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 15:27:56 -0000 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 #include -#include +#include #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 */