diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 05:40:19 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:29:48 -0400 |
commit | f958095ef4fc96e978c6eddcaca29100e5276c7f (patch) | |
tree | 16afbb0172e7d7851350d37784bbf1fb0493c90d /include/pcmcia | |
parent | 943f70f1b5182c5220641ccb7bb905005162e227 (diff) |
pcmcia: deprecate CS_IN_USE
If a resource is already in use, mark it with -EBUSY. Same for cards already
asleep.
(includes a fix for a bug found by Larry Finger -- thanks!)
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/cs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index a517a5845af0..2dc1411b27c9 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -314,7 +314,7 @@ typedef struct error_info_t { | |||
314 | #define CS_BAD_ARG_LENGTH -ENODEV | 314 | #define CS_BAD_ARG_LENGTH -ENODEV |
315 | #define CS_BAD_ARGS 0x1c | 315 | #define CS_BAD_ARGS 0x1c |
316 | #define CS_CONFIGURATION_LOCKED -EACCES | 316 | #define CS_CONFIGURATION_LOCKED -EACCES |
317 | #define CS_IN_USE 0x1e | 317 | #define CS_IN_USE -EBUSY |
318 | #define CS_NO_MORE_ITEMS 0x1f | 318 | #define CS_NO_MORE_ITEMS 0x1f |
319 | #define CS_OUT_OF_RESOURCE -ENOMEM | 319 | #define CS_OUT_OF_RESOURCE -ENOMEM |
320 | #define CS_BAD_HANDLE -EINVAL | 320 | #define CS_BAD_HANDLE -EINVAL |