Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic add some extra regs
details: https://anonhg.NetBSD.org/src/rev/2be42cd31689
branches: trunk
changeset: 342551:2be42cd31689
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Dec 27 18:35:01 2015 +0000
description:
add some extra regs
diffstat:
sys/dev/ic/dwc_mmc_reg.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 9c2749f4b963 -r 2be42cd31689 sys/dev/ic/dwc_mmc_reg.h
--- a/sys/dev/ic/dwc_mmc_reg.h Sun Dec 27 12:42:52 2015 +0000
+++ b/sys/dev/ic/dwc_mmc_reg.h Sun Dec 27 18:35:01 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_mmc_reg.h,v 1.4 2015/01/17 19:32:50 jmcneill Exp $ */
+/* $NetBSD: dwc_mmc_reg.h,v 1.5 2015/12/27 18:35:01 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -58,10 +58,18 @@
#define DWC_MMC_VERID_REG 0x006c
#define DWC_MMC_UHS_REG 0x0074
#define DWC_MMC_RST_REG 0x0078
+#define DWC_MMC_BMODE_REG 0x0080
+#define DWC_MMC_PLDMND_REG 0x0084
+#define DWC_MMC_DBADDR_REG 0x0088
+#define DWC_MMC_IDSTS_REG 0x008c
+#define DWC_MMC_IDINTEN_REG 0x0090
+#define DWC_MMC_DSCADDR_REG 0x0094
+#define DWC_MMC_BUFADDR_REG 0x0098
#define DWC_MMC_CARDTHRCTL_REG 0x0100
#define DWC_MMC_BACK_END_POWER_REG 0x0104
#define DWC_MMC_FIFO_BASE_REG 0x0200
+#define DWC_MMC_CTRL_SEND_AUTO_STOP __BIT(10)
#define DWC_MMC_CTRL_ABORT_READ_DATA __BIT(8)
#define DWC_MMC_CTRL_SEND_IRQ_RESPONSE __BIT(7)
#define DWC_MMC_CTRL_READ_WAIT __BIT(6)
Home |
Main Index |
Thread Index |
Old Index