summaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 11:15:45 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-23 02:29:44 +0200
commit8567142e87322141f9344d1ab632ccf5190cd0d3 (patch)
treec97d0ceead6690580b7a595a5b7dc7113a6c37f6 /include/pcmcia
parent3939c1ef1f954409d1441c09fbc08376655758fe (diff)
downloadop-kernel-dev-8567142e87322141f9344d1ab632ccf5190cd0d3.zip
op-kernel-dev-8567142e87322141f9344d1ab632ccf5190cd0d3.tar.gz
pcmcia: deprecate CS_GENERAL_FAILURE
It's only used by pcmcia_core when socket-related queries time out. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-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 3b4cd51..bec295cb 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -309,7 +309,7 @@ typedef struct error_info_t {
#define CS_UNSUPPORTED_MODE -ENODEV
#define CS_BAD_SPEED -ENODEV
#define CS_BUSY -ENODEV
-#define CS_GENERAL_FAILURE 0x19
+#define CS_GENERAL_FAILURE -ETIMEDOUT
#define CS_WRITE_PROTECTED -EPERM
#define CS_BAD_ARG_LENGTH -ENODEV
#define CS_BAD_ARGS 0x1c
OpenPOWER on IntegriCloud