#define CS_EVENT_3VCARD 0x200000
#define CS_EVENT_XVCARD 0x400000
-/* Return codes */
-#define CS_SUCCESS 0x00
-#define CS_BAD_ADAPTER -ENODEV
-#define CS_BAD_ATTRIBUTE -EINVAL
-#define CS_BAD_BASE -EINVAL
-#define CS_BAD_EDC -ENODEV
-#define CS_BAD_IRQ -EINVAL
-#define CS_BAD_OFFSET -EIO
-#define CS_BAD_PAGE -EINVAL
-#define CS_READ_FAILURE -EIO
-#define CS_BAD_SIZE -EINVAL
-#define CS_BAD_SOCKET -EINVAL
-#define CS_BAD_TYPE -EINVAL
-#define CS_BAD_VCC -EINVAL
-#define CS_BAD_VPP -EINVAL
-#define CS_BAD_WINDOW -ENODEV
-#define CS_WRITE_FAILURE -EIO
-#define CS_NO_CARD -ENODEV
-#define CS_UNSUPPORTED_FUNCTION -ENODEV
-#define CS_UNSUPPORTED_MODE -ENODEV
-#define CS_BAD_SPEED -ENODEV
-#define CS_BUSY -ENODEV
-#define CS_GENERAL_FAILURE -ETIMEDOUT
-#define CS_WRITE_PROTECTED -EPERM
-#define CS_BAD_ARG_LENGTH -ENODEV
-#define CS_BAD_ARGS 0x1c
-#define CS_CONFIGURATION_LOCKED -EACCES
-#define CS_IN_USE -EBUSY
-#define CS_NO_MORE_ITEMS -ENOSPC
-#define CS_OUT_OF_RESOURCE -ENOMEM
-#define CS_BAD_HANDLE -EINVAL
-
-#define CS_BAD_TUPLE 0x40
#ifdef __KERNEL__