diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-17 15:30:05 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-17 15:30:05 +0000 |
commit | cb4d2eaa82a938785a9b6608d6082a57ad9d8bdc (patch) | |
tree | 7512dde41af32c6f3534303c2ace67d0f6e0d24f /sys/dev | |
parent | 6944df038e721ecd6257379068e6cbdbef3a167d (diff) |
correct base freq mask per spec. sdhc found in the nx6125 now configures
correctly. uwe@ ok.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sdmmc/sdhcreg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdhcreg.h b/sys/dev/sdmmc/sdhcreg.h index 6b786e1472f..31da35068a2 100644 --- a/sys/dev/sdmmc/sdhcreg.h +++ b/sys/dev/sdmmc/sdhcreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhcreg.h,v 1.1 2006/05/28 17:21:14 uwe Exp $ */ +/* $OpenBSD: sdhcreg.h,v 1.2 2006/07/17 15:30:04 fgsch Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -131,7 +131,7 @@ #define SDHC_MAX_BLK_LEN_SHIFT 16 #define SDHC_MAX_BLK_LEN_MASK 0x3 #define SDHC_BASE_FREQ_SHIFT 8 -#define SDHC_BASE_FREQ_MASK 0x2f +#define SDHC_BASE_FREQ_MASK 0x3f #define SDHC_TIMEOUT_FREQ_UNIT (1<<7) /* 0=KHz, 1=MHz */ #define SDHC_TIMEOUT_FREQ_SHIFT 0 #define SDHC_TIMEOUT_FREQ_MASK 0x1f |