pcmcia: clean up cs.h
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 20 Mar 2010 13:21:01 +0000 (14:21 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 10 May 2010 08:23:14 +0000 (10:23 +0200)
With req_irq_t gone, we can get rid of some definitions.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
include/pcmcia/cs.h

index a04e6caa585ae6296c7ba9213796024c8789cf18..57d8d0393567e11df947842ffcb906f4a8382262 100644 (file)
@@ -114,18 +114,7 @@ typedef struct io_req_t {
 #define IO_DATA_PATH_WIDTH_16  0x08
 #define IO_DATA_PATH_WIDTH_AUTO        0x10
 
-/* Attributes for RequestIRQ and ReleaseIRQ */
-#define IRQ_TYPE                       0x03
-#define IRQ_TYPE_EXCLUSIVE             0x00
-#define IRQ_TYPE_TIME                  0x01
-#define IRQ_TYPE_DYNAMIC_SHARING       0x02
-#define IRQ_FORCED_PULSE               0x04
-#define IRQ_FIRST_SHARED               0x08 /* unused */
-#define IRQ_HANDLE_PRESENT             0x10 /* unused */
-#define IRQ_PULSE_ALLOCATED            0x100
-
 /* Bits in IRQInfo1 field */
-#define IRQ_MASK               0x0f
 #define IRQ_NMI_ID             0x01
 #define IRQ_IOCK_ID            0x02
 #define IRQ_BERR_ID            0x04