diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-07-28 13:44:05 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-02 12:56:49 -0400 |
commit | 53efec9513cfb1acff602c7ebdd945d677808e9e (patch) | |
tree | 6bf9d0475d0be0829348096442d505001c027017 /include/pcmcia/ds.h | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
pcmcia: only copy CIS override data once
Instead of copying CIS override data in socket_sysfs.c or ds.c, and then again
in cistpl.c, only do so once. Also, cisdump_t is now only used by the
deprecated ioctl.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r-- | include/pcmcia/ds.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index b316027c853d..2d36a4f80e5b 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -68,6 +68,12 @@ typedef struct region_info_t { | |||
68 | #define REGION_BAR_MASK 0xe000 | 68 | #define REGION_BAR_MASK 0xe000 |
69 | #define REGION_BAR_SHIFT 13 | 69 | #define REGION_BAR_SHIFT 13 |
70 | 70 | ||
71 | /* For ReplaceCIS */ | ||
72 | typedef struct cisdump_t { | ||
73 | u_int Length; | ||
74 | cisdata_t Data[CISTPL_MAX_CIS_SIZE]; | ||
75 | } cisdump_t; | ||
76 | |||
71 | typedef union ds_ioctl_arg_t { | 77 | typedef union ds_ioctl_arg_t { |
72 | adjust_t adjust; | 78 | adjust_t adjust; |
73 | config_info_t config; | 79 | config_info_t config; |