| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: pcmciareg.h,v 1.10 2005/12/11 12:23:23 christos Exp $ */ | | 1 | /* $NetBSD: pcmciareg.h,v 1.11 2019/09/01 00:36:52 mlelstv Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1997 Marc Horowitz. All rights reserved. | | 4 | * Copyright (c) 1997 Marc Horowitz. All rights reserved. |
5 | * | | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | | 7 | * modification, are permitted provided that the following conditions |
8 | * are met: | | 8 | * are met: |
9 | * 1. Redistributions of source code must retain the above copyright | | 9 | * 1. Redistributions of source code must retain the above copyright |
10 | * notice, this list of conditions and the following disclaimer. | | 10 | * notice, this list of conditions and the following disclaimer. |
11 | * 2. Redistributions in binary form must reproduce the above copyright | | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the | | 12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. | | 13 | * documentation and/or other materials provided with the distribution. |
14 | * 3. All advertising materials mentioning features or use of this software | | 14 | * 3. All advertising materials mentioning features or use of this software |
| @@ -192,26 +192,27 @@ | | | @@ -192,26 +192,27 @@ |
192 | #define PCMCIA_CISTPL_DATE 0x44 | | 192 | #define PCMCIA_CISTPL_DATE 0x44 |
193 | #define PCMCIA_CISTPL_BATTERY 0x45 | | 193 | #define PCMCIA_CISTPL_BATTERY 0x45 |
194 | #define PCMCIA_CISTPL_FORAMT_A 0x47 | | 194 | #define PCMCIA_CISTPL_FORAMT_A 0x47 |
195 | | | 195 | |
196 | /* Layer 3 Data Organization Tuples */ | | 196 | /* Layer 3 Data Organization Tuples */ |
197 | | | 197 | |
198 | #define PCMCIA_CISTPL_ORG 0x46 | | 198 | #define PCMCIA_CISTPL_ORG 0x46 |
199 | /* #define PCMCIA_CISTPL_RESERVED 0x47-0x7F */ | | 199 | /* #define PCMCIA_CISTPL_RESERVED 0x47-0x7F */ |
200 | | | 200 | |
201 | /* Layer 4 System-Specific Standard Tuples */ | | 201 | /* Layer 4 System-Specific Standard Tuples */ |
202 | | | 202 | |
203 | /* #define PCMCIA_CISTPL_RESERVED 0x80-0x8F */ | | 203 | /* #define PCMCIA_CISTPL_RESERVED 0x80-0x8F */ |
204 | #define PCMCIA_CISTPL_SPCL 0x90 | | 204 | #define PCMCIA_CISTPL_SPCL 0x90 |
| | | 205 | #define PCMCIA_CISTPL_SDIO 0x91 |
205 | /* #define PCMCIA_CISTPL_RESERVED 0x90-0xFE */ | | 206 | /* #define PCMCIA_CISTPL_RESERVED 0x90-0xFE */ |
206 | | | 207 | |
207 | /* | | 208 | /* |
208 | * Card Configuration Registers | | 209 | * Card Configuration Registers |
209 | */ | | 210 | */ |
210 | | | 211 | |
211 | #define PCMCIA_CCR_OPTION 0 | | 212 | #define PCMCIA_CCR_OPTION 0 |
212 | #define PCMCIA_CCR_OPTION_SRESET 0x80 | | 213 | #define PCMCIA_CCR_OPTION_SRESET 0x80 |
213 | #define PCMCIA_CCR_OPTION_LEVIREQ 0x40 | | 214 | #define PCMCIA_CCR_OPTION_LEVIREQ 0x40 |
214 | #define PCMCIA_CCR_OPTION_CFINDEX 0x3F | | 215 | #define PCMCIA_CCR_OPTION_CFINDEX 0x3F |
215 | #define PCMCIA_CCR_OPTION_IREQ_ENABLE 0x04 | | 216 | #define PCMCIA_CCR_OPTION_IREQ_ENABLE 0x04 |
216 | #define PCMCIA_CCR_OPTION_ADDR_DECODE 0x02 | | 217 | #define PCMCIA_CCR_OPTION_ADDR_DECODE 0x02 |
217 | #define PCMCIA_CCR_OPTION_FUNC_ENABLE 0x01 | | 218 | #define PCMCIA_CCR_OPTION_FUNC_ENABLE 0x01 |