aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-31 10:00:42 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-31 10:00:42 -0400
commita45b3fb19ba1e4dfc3fc53563a072612092930a9 (patch)
treeb973d46c7f9002d403bbd09d959b029fb9144351 /include
parent272433e088f843dc4dd5a5ad38dd68b9a93dcebf (diff)
pcmcia: ioctl-internal definitions
cisinfo_t and cs_status_t are only used by the (deprecated) PCMCIA ioctl. Therefore, move them out of the way. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include')
-rw-r--r--include/pcmcia/cistpl.h5
-rw-r--r--include/pcmcia/cs.h6
-rw-r--r--include/pcmcia/ds.h11
3 files changed, 11 insertions, 11 deletions
diff --git a/include/pcmcia/cistpl.h b/include/pcmcia/cistpl.h
index 026323bc47af..cfdd5af77dcc 100644
--- a/include/pcmcia/cistpl.h
+++ b/include/pcmcia/cistpl.h
@@ -573,11 +573,6 @@ typedef struct tuple_t {
573#define TUPLE_RETURN_LINK 0x01 573#define TUPLE_RETURN_LINK 0x01
574#define TUPLE_RETURN_COMMON 0x02 574#define TUPLE_RETURN_COMMON 0x02
575 575
576/* For ValidateCIS */
577typedef struct cisinfo_t {
578 u_int Chains;
579} cisinfo_t;
580
581#define CISTPL_MAX_CIS_SIZE 0x200 576#define CISTPL_MAX_CIS_SIZE 0x200
582 577
583#endif /* LINUX_CISTPL_H */ 578#endif /* LINUX_CISTPL_H */
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 6944a74d3a7c..904468a191ef 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -201,12 +201,6 @@ typedef struct win_req_t {
201#define WIN_BAR_MASK 0xe000 201#define WIN_BAR_MASK 0xe000
202#define WIN_BAR_SHIFT 13 202#define WIN_BAR_SHIFT 13
203 203
204typedef struct cs_status_t {
205 u_char Function;
206 event_t CardState;
207 event_t SocketState;
208} cs_status_t;
209
210typedef struct error_info_t { 204typedef struct error_info_t {
211 int func; 205 int func;
212 int retcode; 206 int retcode;
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index 5fb61952bce8..a2be80b9a095 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -367,6 +367,17 @@ typedef struct config_info_t {
367 u_int IOAddrLines; 367 u_int IOAddrLines;
368} config_info_t; 368} config_info_t;
369 369
370/* For ValidateCIS */
371typedef struct cisinfo_t {
372 u_int Chains;
373} cisinfo_t;
374
375typedef struct cs_status_t {
376 u_char Function;
377 event_t CardState;
378 event_t SocketState;
379} cs_status_t;
380
370typedef union ds_ioctl_arg_t { 381typedef union ds_ioctl_arg_t {
371 adjust_t adjust; 382 adjust_t adjust;
372 config_info_t config; 383 config_info_t config;