From 5cb9993cfd3a3b955f8efc9f4463620b00e3b153 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 20 Mar 2002 19:01:16 +0000 Subject: Define masks for the VCC an VPP voltages --- sys/pccard/pcic_pci.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- cgit v1.1