mirror of
https://github.com/torvalds/linux
synced 2024-09-20 02:57:25 +00:00
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>
This commit is contained in:
parent
272433e088
commit
a45b3fb19b
|
@ -573,11 +573,6 @@ typedef struct tuple_t {
|
||||||
#define TUPLE_RETURN_LINK 0x01
|
#define TUPLE_RETURN_LINK 0x01
|
||||||
#define TUPLE_RETURN_COMMON 0x02
|
#define TUPLE_RETURN_COMMON 0x02
|
||||||
|
|
||||||
/* For ValidateCIS */
|
|
||||||
typedef struct cisinfo_t {
|
|
||||||
u_int Chains;
|
|
||||||
} cisinfo_t;
|
|
||||||
|
|
||||||
#define CISTPL_MAX_CIS_SIZE 0x200
|
#define CISTPL_MAX_CIS_SIZE 0x200
|
||||||
|
|
||||||
#endif /* LINUX_CISTPL_H */
|
#endif /* LINUX_CISTPL_H */
|
||||||
|
|
|
@ -201,12 +201,6 @@ typedef struct win_req_t {
|
||||||
#define WIN_BAR_MASK 0xe000
|
#define WIN_BAR_MASK 0xe000
|
||||||
#define WIN_BAR_SHIFT 13
|
#define WIN_BAR_SHIFT 13
|
||||||
|
|
||||||
typedef struct cs_status_t {
|
|
||||||
u_char Function;
|
|
||||||
event_t CardState;
|
|
||||||
event_t SocketState;
|
|
||||||
} cs_status_t;
|
|
||||||
|
|
||||||
typedef struct error_info_t {
|
typedef struct error_info_t {
|
||||||
int func;
|
int func;
|
||||||
int retcode;
|
int retcode;
|
||||||
|
|
|
@ -367,6 +367,17 @@ typedef struct config_info_t {
|
||||||
u_int IOAddrLines;
|
u_int IOAddrLines;
|
||||||
} config_info_t;
|
} config_info_t;
|
||||||
|
|
||||||
|
/* For ValidateCIS */
|
||||||
|
typedef struct cisinfo_t {
|
||||||
|
u_int Chains;
|
||||||
|
} cisinfo_t;
|
||||||
|
|
||||||
|
typedef struct cs_status_t {
|
||||||
|
u_char Function;
|
||||||
|
event_t CardState;
|
||||||
|
event_t SocketState;
|
||||||
|
} cs_status_t;
|
||||||
|
|
||||||
typedef union ds_ioctl_arg_t {
|
typedef union ds_ioctl_arg_t {
|
||||||
adjust_t adjust;
|
adjust_t adjust;
|
||||||
config_info_t config;
|
config_info_t config;
|
||||||
|
|
Loading…
Reference in a new issue