summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2010-06-01 03:09:42 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2010-06-01 03:09:42 +0000
commit443c0fbcbf7dbcd2e42bb142d435e3c5c656a9e6 (patch)
tree4c586e63e8c4d5f14ca48edd880ed5c391e1e246 /sys/arch
parent19593772e1226c065005d4532c840e889d1e42f9 (diff)
Fix some code hidden in DIAGNOSTIC.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/beagle/dev/ommmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/beagle/dev/ommmc.c b/sys/arch/beagle/dev/ommmc.c
index ef659605ca6..39f8c4740cb 100644
--- a/sys/arch/beagle/dev/ommmc.c
+++ b/sys/arch/beagle/dev/ommmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ommmc.c,v 1.5 2010/02/14 09:08:32 mk Exp $ */
+/* $OpenBSD: ommmc.c,v 1.6 2010/06/01 03:09:41 drahn Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
@@ -746,7 +746,7 @@ ommmc_bus_clock(sdmmc_chipset_handle_t sch, int freq)
#ifdef DIAGNOSTIC
/* Must not stop the clock if commands are in progress. */
- if (ISSET(HREAD4(sc, SDMMCH_PSTATE), MMCHS_PSTATE_CMDI|MMCHS_PSTATE_DAT)
+ if (ISSET(HREAD4(sc, MMCHS_PSTATE), MMCHS_PSTATE_CMDI|MMCHS_PSTATE_DATI)
&& ommmc_card_detect(sc))
printf("ommmc_sdclk_frequency_select: command in progress\n");
#endif