aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/cs.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 05:40:19 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-22 20:29:48 -0400
commitf958095ef4fc96e978c6eddcaca29100e5276c7f (patch)
tree16afbb0172e7d7851350d37784bbf1fb0493c90d /include/pcmcia/cs.h
parent943f70f1b5182c5220641ccb7bb905005162e227 (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/cs.h')
-rw-r--r--include/pcmcia/cs.h2
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