4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * The initial developer of the original code is David A. Hinds
9 * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
10 * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
12 * (C) 1999 David A. Hinds
19 #include <linux/interrupt.h>
22 /* For RequestConfiguration */
23 typedef struct config_req_t {
27 u_char Status, ExtStatus;
32 /* Attributes for RequestConfiguration */
33 #define CONF_ENABLE_IRQ 0x01
34 #define CONF_ENABLE_DMA 0x02
35 #define CONF_ENABLE_SPKR 0x04
36 #define CONF_ENABLE_PULSE_IRQ 0x08
37 #define CONF_VALID_CLIENT 0x100
40 #define INT_MEMORY 0x01
41 #define INT_MEMORY_AND_IO 0x02
42 #define INT_CARDBUS 0x04
43 #define INT_ZOOMED_VIDEO 0x08
45 /* Configuration registers present */
46 #define PRESENT_OPTION 0x001
47 #define PRESENT_STATUS 0x002
48 #define PRESENT_PIN_REPLACE 0x004
49 #define PRESENT_COPY 0x008
50 #define PRESENT_EXT_STATUS 0x010
51 #define PRESENT_IOBASE_0 0x020
52 #define PRESENT_IOBASE_1 0x040
53 #define PRESENT_IOBASE_2 0x080
54 #define PRESENT_IOBASE_3 0x100
55 #define PRESENT_IOSIZE 0x200
57 #endif /* _LINUX_CS_H */