diff options
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/cs.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index 201705c51bbd..695baf6cf1fd 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -289,29 +289,29 @@ typedef struct error_info_t { | |||
289 | 289 | ||
290 | /* Return codes */ | 290 | /* Return codes */ |
291 | #define CS_SUCCESS 0x00 | 291 | #define CS_SUCCESS 0x00 |
292 | #define CS_BAD_ADAPTER 0x01 | 292 | #define CS_BAD_ADAPTER -ENODEV |
293 | #define CS_BAD_ATTRIBUTE 0x02 | 293 | #define CS_BAD_ATTRIBUTE 0x02 |
294 | #define CS_BAD_BASE 0x03 | 294 | #define CS_BAD_BASE 0x03 |
295 | #define CS_BAD_EDC 0x04 | 295 | #define CS_BAD_EDC -ENODEV |
296 | #define CS_BAD_IRQ 0x06 | 296 | #define CS_BAD_IRQ 0x06 |
297 | #define CS_BAD_OFFSET 0x07 | 297 | #define CS_BAD_OFFSET 0x07 |
298 | #define CS_BAD_PAGE 0x08 | 298 | #define CS_BAD_PAGE 0x08 |
299 | #define CS_READ_FAILURE 0x09 | 299 | #define CS_READ_FAILURE -EIO |
300 | #define CS_BAD_SIZE 0x0a | 300 | #define CS_BAD_SIZE 0x0a |
301 | #define CS_BAD_SOCKET 0x0b | 301 | #define CS_BAD_SOCKET -EINVAL |
302 | #define CS_BAD_TYPE 0x0d | 302 | #define CS_BAD_TYPE 0x0d |
303 | #define CS_BAD_VCC 0x0e | 303 | #define CS_BAD_VCC 0x0e |
304 | #define CS_BAD_VPP 0x0f | 304 | #define CS_BAD_VPP 0x0f |
305 | #define CS_BAD_WINDOW 0x11 | 305 | #define CS_BAD_WINDOW -ENODEV |
306 | #define CS_WRITE_FAILURE 0x12 | 306 | #define CS_WRITE_FAILURE -EIO |
307 | #define CS_NO_CARD 0x14 | 307 | #define CS_NO_CARD 0x14 |
308 | #define CS_UNSUPPORTED_FUNCTION 0x15 | 308 | #define CS_UNSUPPORTED_FUNCTION 0x15 |
309 | #define CS_UNSUPPORTED_MODE 0x16 | 309 | #define CS_UNSUPPORTED_MODE 0x16 |
310 | #define CS_BAD_SPEED 0x17 | 310 | #define CS_BAD_SPEED -ENODEV |
311 | #define CS_BUSY 0x18 | 311 | #define CS_BUSY -ENODEV |
312 | #define CS_GENERAL_FAILURE 0x19 | 312 | #define CS_GENERAL_FAILURE 0x19 |
313 | #define CS_WRITE_PROTECTED 0x1a | 313 | #define CS_WRITE_PROTECTED -EPERM |
314 | #define CS_BAD_ARG_LENGTH 0x1b | 314 | #define CS_BAD_ARG_LENGTH -ENODEV |
315 | #define CS_BAD_ARGS 0x1c | 315 | #define CS_BAD_ARGS 0x1c |
316 | #define CS_CONFIGURATION_LOCKED 0x1d | 316 | #define CS_CONFIGURATION_LOCKED 0x1d |
317 | #define CS_IN_USE 0x1e | 317 | #define CS_IN_USE 0x1e |