summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-20 19:01:16 +0000
committerimp <imp@FreeBSD.org>2002-03-20 19:01:16 +0000
commit5cb9993cfd3a3b955f8efc9f4463620b00e3b153 (patch)
tree1a3867844f7589acc27f867f5487e532195e3d66 /sys/pccard
parenta11b0bc7ef9aa0716078fb29c8eeb46df0f454bf (diff)
downloadFreeBSD-src-5cb9993cfd3a3b955f8efc9f4463620b00e3b153.zip
FreeBSD-src-5cb9993cfd3a3b955f8efc9f4463620b00e3b153.tar.gz
Define masks for the VCC an VPP voltages
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic_pci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pccard/pcic_pci.h b/sys/pccard/pcic_pci.h
index 90d5c85..dbba582 100644
--- a/sys/pccard/pcic_pci.h
+++ b/sys/pccard/pcic_pci.h
@@ -222,14 +222,19 @@
#define CB_SS_YVSOCK 0x80000000 /* Y.Y V Socket */
#define CB_SP_CLKSTOP 0x80 /* Cardbus clock stop protocol */
+#define CB_SP_VCC_MASK 0x70
#define CB_SP_VCC_0V 0x00
+ /* 0x10 is reserved 12V in VPP */
#define CB_SP_VCC_5V 0x20
#define CB_SP_VCC_3V 0x30
#define CB_SP_VCC_XV 0x40
#define CB_SP_VCC_YV 0x50
+ /* 0x60 and 0x70 are reserved */
+#define CB_SP_VPP_MASK 0x07
#define CB_SP_VPP_0V 0x00
#define CB_SP_VPP_12V 0x01
#define CB_SP_VPP_5V 0x02
#define CB_SP_VPP_3V 0x03
#define CB_SP_VPP_XV 0x04
#define CB_SP_VPP_YV 0x05
+ /* 0x6 and 0x7 are reserved */
OpenPOWER on IntegriCloud