Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * | |
3 | * Definitions for H3600 Handheld Computer | |
4 | * | |
5 | * Copyright 2001 Compaq Computer Corporation. | |
6 | * | |
7 | * Use consistent with the GNU GPL is permitted, | |
8 | * provided that this copyright notice is | |
9 | * preserved in its entirety in all copies and derived works. | |
10 | * | |
11 | * COMPAQ COMPUTER CORPORATION MAKES NO WARRANTIES, EXPRESSED OR IMPLIED, | |
12 | * AS TO THE USEFULNESS OR CORRECTNESS OF THIS CODE OR ITS | |
13 | * FITNESS FOR ANY PARTICULAR PURPOSE. | |
14 | * | |
15 | * Author: Jamey Hicks. | |
16 | * | |
17 | */ | |
18 | ||
19 | /* LinkUp Systems PCCard/CompactFlash Interface for SA-1100 */ | |
20 | ||
21 | /* PC Card Status Register */ | |
22 | #define LINKUP_PRS_S1 (1 << 0) /* voltage control bits S1-S4 */ | |
23 | #define LINKUP_PRS_S2 (1 << 1) | |
24 | #define LINKUP_PRS_S3 (1 << 2) | |
25 | #define LINKUP_PRS_S4 (1 << 3) | |
26 | #define LINKUP_PRS_BVD1 (1 << 4) | |
27 | #define LINKUP_PRS_BVD2 (1 << 5) | |
28 | #define LINKUP_PRS_VS1 (1 << 6) | |
29 | #define LINKUP_PRS_VS2 (1 << 7) | |
30 | #define LINKUP_PRS_RDY (1 << 8) | |
31 | #define LINKUP_PRS_CD1 (1 << 9) | |
32 | #define LINKUP_PRS_CD2 (1 << 10) | |
33 | ||
34 | /* PC Card Command Register */ | |
35 | #define LINKUP_PRC_S1 (1 << 0) | |
36 | #define LINKUP_PRC_S2 (1 << 1) | |
37 | #define LINKUP_PRC_S3 (1 << 2) | |
38 | #define LINKUP_PRC_S4 (1 << 3) | |
39 | #define LINKUP_PRC_RESET (1 << 4) | |
40 | #define LINKUP_PRC_APOE (1 << 5) /* Auto Power Off Enable: clears S1-S4 when either nCD goes high */ | |
41 | #define LINKUP_PRC_CFE (1 << 6) /* CompactFlash mode Enable: addresses A[10:0] only, A[25:11] high */ | |
42 | #define LINKUP_PRC_SOE (1 << 7) /* signal output driver enable */ | |
43 | #define LINKUP_PRC_SSP (1 << 8) /* sock select polarity: 0 for socket 0, 1 for socket 1 */ | |
44 | #define LINKUP_PRC_MBZ (1 << 15) /* must be zero */ | |
45 | ||
46 | struct linkup_l1110 { | |
47 | volatile short prc; | |
48 | }; |