~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to drivers/staging/ath6kl/include/common/wmix.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno
  • Date: 2011-06-07 12:14:05 UTC
  • mfrom: (43.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110607121405-i3h1rd7nrnd2b73h
Tags: 2.6.39-2
[ Ben Hutchings ]
* [x86] Enable BACKLIGHT_APPLE, replacing BACKLIGHT_MBP_NVIDIA
  (Closes: #627492)
* cgroups: Disable memory resource controller by default. Allow it
  to be enabled using kernel parameter 'cgroup_enable=memory'.
* rt2800usb: Enable support for more USB devices including
  Linksys WUSB600N (Closes: #596626) (this change was accidentally
  omitted from 2.6.39-1)
* [x86] Remove Celeron from list of processors supporting PAE. Most
  'Celeron M' models do not.
* Update debconf template translations:
  - Swedish (Martin Bagge) (Closes: #628932)
  - French (David Prévot) (Closes: #628191)
* aufs: Update for 2.6.39 (Closes: #627837)
* Add stable 2.6.39.1, including:
  - ext4: dont set PageUptodate in ext4_end_bio()
  - pata_cmd64x: fix boot crash on parisc (Closes: #622997, #622745)
  - ext3: Fix fs corruption when make_indexed_dir() fails
  - netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages
  - sctp: fix race between sctp_bind_addr_free() and
    sctp_bind_addr_conflict()
  - sctp: fix memory leak of the ASCONF queue when free asoc
  - md/bitmap: fix saving of events_cleared and other state
  - cdc_acm: Fix oops when Droids MuIn LCD is connected
  - cx88: Fix conversion from BKL to fine-grained locks (Closes: #619827)
  - keys: Set cred->user_ns in key_replace_session_keyring (CVE-2011-2184)
  - tmpfs: fix race between truncate and writepage
  - nfs41: Correct offset for LAYOUTCOMMIT
  - xen/mmu: fix a race window causing leave_mm BUG()
  - ext4: fix possible use-after-free in ext4_remove_li_request()
  For the complete list of changes, see:
   http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
* Bump ABI to 2
* netfilter: Enable IP_SET, IP_SET_BITMAP_IP, IP_SET_BITMAP_IPMAC,
  IP_SET_BITMAP_PORT, IP_SET_HASH_IP, IP_SET_HASH_IPPORT,
  IP_SET_HASH_IPPORTIP, IP_SET_HASH_IPPORTNET, IP_SET_HASH_NET,
  IP_SET_HASH_NETPORT, IP_SET_LIST_SET, NETFILTER_XT_SET as modules
  (Closes: #629401)

[ Aurelien Jarno ]
* [mipsel/loongson-2f] Disable_SCSI_LPFC to workaround GCC ICE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 * WMI_EVENT_ID=WMI_EXTENSION_EVENTID.
56
56
 */
57
57
typedef PREPACK struct {
58
 
    A_UINT32    commandId;
 
58
    u32 commandId;
59
59
} POSTPACK WMIX_CMD_HDR;
60
60
 
61
61
typedef enum {
96
96
 * DataSet Open Request Event
97
97
 */
98
98
typedef PREPACK struct {
99
 
    A_UINT32 dset_id;
100
 
    A_UINT32 targ_dset_handle;  /* echo'ed, not used by Host, */
101
 
    A_UINT32 targ_reply_fn;     /* echo'ed, not used by Host, */
102
 
    A_UINT32 targ_reply_arg;    /* echo'ed, not used by Host, */
 
99
    u32 dset_id;
 
100
    u32 targ_dset_handle;  /* echo'ed, not used by Host, */
 
101
    u32 targ_reply_fn;     /* echo'ed, not used by Host, */
 
102
    u32 targ_reply_arg;    /* echo'ed, not used by Host, */
103
103
} POSTPACK WMIX_DSETOPENREQ_EVENT;
104
104
 
105
105
/*
107
107
 * DataSet Close Event
108
108
 */
109
109
typedef PREPACK struct {
110
 
    A_UINT32 access_cookie;
 
110
    u32 access_cookie;
111
111
} POSTPACK WMIX_DSETCLOSE_EVENT;
112
112
 
113
113
/*
115
115
 * DataSet Data Request Event
116
116
 */
117
117
typedef PREPACK struct {
118
 
    A_UINT32 access_cookie;
119
 
    A_UINT32 offset;
120
 
    A_UINT32 length;
121
 
    A_UINT32 targ_buf;         /* echo'ed, not used by Host, */
122
 
    A_UINT32 targ_reply_fn;    /* echo'ed, not used by Host, */
123
 
    A_UINT32 targ_reply_arg;   /* echo'ed, not used by Host, */
 
118
    u32 access_cookie;
 
119
    u32 offset;
 
120
    u32 length;
 
121
    u32 targ_buf;         /* echo'ed, not used by Host, */
 
122
    u32 targ_reply_fn;    /* echo'ed, not used by Host, */
 
123
    u32 targ_reply_arg;   /* echo'ed, not used by Host, */
124
124
} POSTPACK WMIX_DSETDATAREQ_EVENT;
125
125
 
126
126
typedef PREPACK struct {
127
 
    A_UINT32              status;
128
 
    A_UINT32              targ_dset_handle;
129
 
    A_UINT32              targ_reply_fn;
130
 
    A_UINT32              targ_reply_arg;
131
 
    A_UINT32              access_cookie;
132
 
    A_UINT32              size;
133
 
    A_UINT32              version;
 
127
    u32 status;
 
128
    u32 targ_dset_handle;
 
129
    u32 targ_reply_fn;
 
130
    u32 targ_reply_arg;
 
131
    u32 access_cookie;
 
132
    u32 size;
 
133
    u32 version;
134
134
} POSTPACK WMIX_DSETOPEN_REPLY_CMD;
135
135
 
136
136
typedef PREPACK struct {
137
 
    A_UINT32              status;
138
 
    A_UINT32              targ_buf;
139
 
    A_UINT32              targ_reply_fn;
140
 
    A_UINT32              targ_reply_arg;
141
 
    A_UINT32              length;
142
 
    A_UINT8               buf[1];
 
137
    u32 status;
 
138
    u32 targ_buf;
 
139
    u32 targ_reply_fn;
 
140
    u32 targ_reply_arg;
 
141
    u32 length;
 
142
    u8 buf[1];
143
143
} POSTPACK WMIX_DSETDATA_REPLY_CMD;
144
144
 
145
145
 
160
160
 * clear/disable or disable/enable, results are undefined.
161
161
 */
162
162
typedef PREPACK struct {
163
 
    A_UINT32              set_mask;             /* pins to set */
164
 
    A_UINT32              clear_mask;           /* pins to clear */
165
 
    A_UINT32              enable_mask;          /* pins to enable for output */
166
 
    A_UINT32              disable_mask;         /* pins to disable/tristate */
 
163
    u32 set_mask;             /* pins to set */
 
164
    u32 clear_mask;           /* pins to clear */
 
165
    u32 enable_mask;          /* pins to enable for output */
 
166
    u32 disable_mask;         /* pins to disable/tristate */
167
167
} POSTPACK WMIX_GPIO_OUTPUT_SET_CMD;
168
168
 
169
169
/* 
172
172
 * platform-dependent header.
173
173
 */
174
174
typedef PREPACK struct {
175
 
    A_UINT32              gpioreg_id;           /* GPIO register ID */
176
 
    A_UINT32              value;                /* value to write */
 
175
    u32 gpioreg_id;           /* GPIO register ID */
 
176
    u32 value;                /* value to write */
177
177
} POSTPACK WMIX_GPIO_REGISTER_SET_CMD;
178
178
 
179
179
/* Get a GPIO register.  For debug/exceptional cases. */
180
180
typedef PREPACK struct {
181
 
    A_UINT32              gpioreg_id;           /* GPIO register to read */
 
181
    u32 gpioreg_id;           /* GPIO register to read */
182
182
} POSTPACK WMIX_GPIO_REGISTER_GET_CMD;
183
183
 
184
184
/*
187
187
 * were delivered in an earlier WMIX_GPIO_INTR_EVENT message.
188
188
 */
189
189
typedef PREPACK struct {
190
 
    A_UINT32              ack_mask;             /* interrupts to acknowledge */
 
190
    u32 ack_mask;             /* interrupts to acknowledge */
191
191
} POSTPACK WMIX_GPIO_INTR_ACK_CMD;
192
192
 
193
193
/*
194
 
 * Target informs Host of GPIO interrupts that have ocurred since the
 
194
 * Target informs Host of GPIO interrupts that have occurred since the
195
195
 * last WMIX_GIPO_INTR_ACK_CMD was received.  Additional information --
196
196
 * the current GPIO input values is provided -- in order to support
197
197
 * use of a GPIO interrupt as a Data Valid signal for other GPIO pins.
198
198
 */
199
199
typedef PREPACK struct {
200
 
    A_UINT32              intr_mask;            /* pending GPIO interrupts */
201
 
    A_UINT32              input_values;         /* recent GPIO input values */
 
200
    u32 intr_mask;            /* pending GPIO interrupts */
 
201
    u32 input_values;         /* recent GPIO input values */
202
202
} POSTPACK WMIX_GPIO_INTR_EVENT;
203
203
 
204
204
/*
217
217
 * simplify Host GPIO support.
218
218
 */
219
219
typedef PREPACK struct {
220
 
    A_UINT32              value;
221
 
    A_UINT32              reg_id;
 
220
    u32 value;
 
221
    u32 reg_id;
222
222
} POSTPACK WMIX_GPIO_DATA_EVENT;
223
223
 
224
224
/*
230
230
 * Heartbeat Challenge Response command
231
231
 */
232
232
typedef PREPACK struct {
233
 
    A_UINT32              cookie;
234
 
    A_UINT32              source;
 
233
    u32 cookie;
 
234
    u32 source;
235
235
} POSTPACK WMIX_HB_CHALLENGE_RESP_CMD;
236
236
 
237
237
/*
249
249
 */
250
250
 
251
251
typedef PREPACK struct {
252
 
    A_UINT32 period; /* Time (in 30.5us ticks) between samples */
253
 
    A_UINT32 nbins;
 
252
    u32 period; /* Time (in 30.5us ticks) between samples */
 
253
    u32 nbins;
254
254
} POSTPACK WMIX_PROF_CFG_CMD;
255
255
 
256
256
typedef PREPACK struct {
257
 
    A_UINT32 addr;
 
257
    u32 addr;
258
258
} POSTPACK WMIX_PROF_ADDR_SET_CMD;
259
259
 
260
260
/*
264
264
 *   count set to the corresponding count
265
265
 */
266
266
typedef PREPACK struct {
267
 
    A_UINT32              addr;
268
 
    A_UINT32              count;
 
267
    u32 addr;
 
268
    u32 count;
269
269
} POSTPACK WMIX_PROF_COUNT_EVENT;
270
270
 
271
271
#ifndef ATH_TARGET