aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 06:10:53 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-22 20:29:56 -0400
commit69ba44331e81e4a15b504175ec70b7b4b4e5a8b9 (patch)
treecad7ae00519ff61d88f3766463c43119189d37b9 /include/pcmcia
parent610e23749e87920136e1a221266a43cb7e3823f1 (diff)
pcmcia: deprecate CS_BAD_BASE, CS_BAD_IRQ, CS_BAD_OFFSET and CS_BAD_SIZE
These four error values mostly mean a badly written driver, so ds_dbg() output and -EINVAL seems to be enough. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r--include/pcmcia/cs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 70c32e97b49..4951eb94493 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -291,13 +291,13 @@ typedef struct error_info_t {
291#define CS_SUCCESS 0x00 291#define CS_SUCCESS 0x00
292#define CS_BAD_ADAPTER -ENODEV 292#define CS_BAD_ADAPTER -ENODEV
293#define CS_BAD_ATTRIBUTE -EINVAL 293#define CS_BAD_ATTRIBUTE -EINVAL
294#define CS_BAD_BASE 0x03 294#define CS_BAD_BASE -EINVAL
295#define CS_BAD_EDC -ENODEV 295#define CS_BAD_EDC -ENODEV
296#define CS_BAD_IRQ 0x06 296#define CS_BAD_IRQ -EINVAL
297#define CS_BAD_OFFSET 0x07 297#define CS_BAD_OFFSET -EIO
298#define CS_BAD_PAGE -EINVAL 298#define CS_BAD_PAGE -EINVAL
299#define CS_READ_FAILURE -EIO 299#define CS_READ_FAILURE -EIO
300#define CS_BAD_SIZE 0x0a 300#define CS_BAD_SIZE -EINVAL
301#define CS_BAD_SOCKET -EINVAL 301#define CS_BAD_SOCKET -EINVAL
302#define CS_BAD_TYPE -EINVAL 302#define CS_BAD_TYPE -EINVAL
303#define CS_BAD_VCC -EINVAL 303#define CS_BAD_VCC -EINVAL