summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/dev/zaurus_scoopreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/zaurus/dev/zaurus_scoopreg.h')
-rw-r--r--sys/arch/zaurus/dev/zaurus_scoopreg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_scoopreg.h b/sys/arch/zaurus/dev/zaurus_scoopreg.h
index c2aa000147a..b5a87619883 100644
--- a/sys/arch/zaurus/dev/zaurus_scoopreg.h
+++ b/sys/arch/zaurus/dev/zaurus_scoopreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_scoopreg.h,v 1.7 2005/07/01 23:51:55 uwe Exp $ */
+/* $OpenBSD: zaurus_scoopreg.h,v 1.8 2007/03/18 20:50:23 uwe Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
@@ -34,8 +34,10 @@
#define SCP_CSR_PWR 0x0080
#define SCOOP_CPR 0x0c /* card power register */
#define SCP_CPR_OFF 0x0000
-#define SCP_CPR_3V 0x0001
-#define SCP_CPR_5V 0x0002
+#define SCP_CPR_3V 0x0001 /* 3V for CF card */
+#define SCP_CPR_5V 0x0002 /* 5V for CF card */
+#define SCP_CPR_SD_3V 0x0004 /* 3.3V for SD/MMC card */
+#define SCP_CPR_VOLTAGE_MSK 0x0007
#define SCP_CPR_PWR 0x0080
#define SCOOP_CCR 0x10 /* card control register */
#define SCP_CCR_RESET 0x0080