diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 02:57:51 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:16:09 -0400 |
commit | 1a53088c101789bfca431de709ff6e45e8c77003 (patch) | |
tree | b73ded75664ae5ae2ecfc1f611e6345b4e536110 /include/pcmcia/ds.h | |
parent | 64f346425175ad33812cd693fbca48cd512dab63 (diff) |
pcmcia: move config_info_t definition to ioctl-related parts in header files
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r-- | include/pcmcia/ds.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 2d36a4f80e5b..a06bbec386bd 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -74,6 +74,27 @@ typedef struct cisdump_t { | |||
74 | cisdata_t Data[CISTPL_MAX_CIS_SIZE]; | 74 | cisdata_t Data[CISTPL_MAX_CIS_SIZE]; |
75 | } cisdump_t; | 75 | } cisdump_t; |
76 | 76 | ||
77 | /* for GetConfigurationInfo */ | ||
78 | typedef struct config_info_t { | ||
79 | u_char Function; | ||
80 | u_int Attributes; | ||
81 | u_int Vcc, Vpp1, Vpp2; | ||
82 | u_int IntType; | ||
83 | u_int ConfigBase; | ||
84 | u_char Status, Pin, Copy, Option, ExtStatus; | ||
85 | u_int Present; | ||
86 | u_int CardValues; | ||
87 | u_int AssignedIRQ; | ||
88 | u_int IRQAttributes; | ||
89 | ioaddr_t BasePort1; | ||
90 | ioaddr_t NumPorts1; | ||
91 | u_int Attributes1; | ||
92 | ioaddr_t BasePort2; | ||
93 | ioaddr_t NumPorts2; | ||
94 | u_int Attributes2; | ||
95 | u_int IOAddrLines; | ||
96 | } config_info_t; | ||
97 | |||
77 | typedef union ds_ioctl_arg_t { | 98 | typedef union ds_ioctl_arg_t { |
78 | adjust_t adjust; | 99 | adjust_t adjust; |
79 | config_info_t config; | 100 | config_info_t config; |