Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom use 0 and 1 for states instead of 27 a...
details: https://anonhg.NetBSD.org/src/rev/80264b8caeba
branches: trunk
changeset: 332244:80264b8caeba
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Sep 12 20:55:48 2014 +0000
description:
use 0 and 1 for states instead of 27 and 42
diffstat:
sys/arch/arm/broadcom/bcm2835_emmc.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 8668999839a7 -r 80264b8caeba sys/arch/arm/broadcom/bcm2835_emmc.c
--- a/sys/arch/arm/broadcom/bcm2835_emmc.c Fri Sep 12 20:52:52 2014 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_emmc.c Fri Sep 12 20:55:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_emmc.c,v 1.11 2014/09/12 20:18:42 jakllsch Exp $ */
+/* $NetBSD: bcm2835_emmc.c,v 1.12 2014/09/12 20:55:48 jmcneill Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_emmc.c,v 1.11 2014/09/12 20:18:42 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_emmc.c,v 1.12 2014/09/12 20:55:48 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -48,8 +48,8 @@
#include <dev/sdmmc/sdmmcvar.h>
enum bcmemmc_dma_state {
- EMMC_DMA_STATE_IDLE = 27,
- EMMC_DMA_STATE_BUSY = 42,
+ EMMC_DMA_STATE_IDLE,
+ EMMC_DMA_STATE_BUSY,
};
struct bcmemmc_softc {
Home |
Main Index |
Thread Index |
Old Index