diff options
Diffstat (limited to 'include/linux/sdla.h')
| -rw-r--r-- | include/linux/sdla.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/include/linux/sdla.h b/include/linux/sdla.h index 3b6afb8caa42..564acd3a71c1 100644 --- a/include/linux/sdla.h +++ b/include/linux/sdla.h | |||
| @@ -293,46 +293,46 @@ void sdla(void *cfg_info, char *dev, struct frad_conf *conf, int quiet); | |||
| 293 | #define SDLA_S508_INTEN 0x10 | 293 | #define SDLA_S508_INTEN 0x10 |
| 294 | 294 | ||
| 295 | struct sdla_cmd { | 295 | struct sdla_cmd { |
| 296 | char opp_flag __attribute__((packed)); | 296 | char opp_flag; |
| 297 | char cmd __attribute__((packed)); | 297 | char cmd; |
| 298 | short length __attribute__((packed)); | 298 | short length; |
| 299 | char retval __attribute__((packed)); | 299 | char retval; |
| 300 | short dlci __attribute__((packed)); | 300 | short dlci; |
| 301 | char flags __attribute__((packed)); | 301 | char flags; |
| 302 | short rxlost_int __attribute__((packed)); | 302 | short rxlost_int; |
| 303 | long rxlost_app __attribute__((packed)); | 303 | long rxlost_app; |
| 304 | char reserve[2] __attribute__((packed)); | 304 | char reserve[2]; |
| 305 | char data[SDLA_MAX_DATA] __attribute__((packed)); /* transfer data buffer */ | 305 | char data[SDLA_MAX_DATA]; /* transfer data buffer */ |
| 306 | }; | 306 | } __attribute__((packed)); |
| 307 | 307 | ||
| 308 | struct intr_info { | 308 | struct intr_info { |
| 309 | char flags __attribute__((packed)); | 309 | char flags; |
| 310 | short txlen __attribute__((packed)); | 310 | short txlen; |
| 311 | char irq __attribute__((packed)); | 311 | char irq; |
| 312 | char flags2 __attribute__((packed)); | 312 | char flags2; |
| 313 | short timeout __attribute__((packed)); | 313 | short timeout; |
| 314 | }; | 314 | } __attribute__((packed)); |
| 315 | 315 | ||
| 316 | /* found in the 508's control window at RXBUF_INFO */ | 316 | /* found in the 508's control window at RXBUF_INFO */ |
| 317 | struct buf_info { | 317 | struct buf_info { |
| 318 | unsigned short rse_num __attribute__((packed)); | 318 | unsigned short rse_num; |
| 319 | unsigned long rse_base __attribute__((packed)); | 319 | unsigned long rse_base; |
| 320 | unsigned long rse_next __attribute__((packed)); | 320 | unsigned long rse_next; |
| 321 | unsigned long buf_base __attribute__((packed)); | 321 | unsigned long buf_base; |
| 322 | unsigned short reserved __attribute__((packed)); | 322 | unsigned short reserved; |
| 323 | unsigned long buf_top __attribute__((packed)); | 323 | unsigned long buf_top; |
| 324 | }; | 324 | } __attribute__((packed)); |
| 325 | 325 | ||
| 326 | /* structure pointed to by rse_base in RXBUF_INFO struct */ | 326 | /* structure pointed to by rse_base in RXBUF_INFO struct */ |
| 327 | struct buf_entry { | 327 | struct buf_entry { |
| 328 | char opp_flag __attribute__((packed)); | 328 | char opp_flag; |
| 329 | short length __attribute__((packed)); | 329 | short length; |
| 330 | short dlci __attribute__((packed)); | 330 | short dlci; |
| 331 | char flags __attribute__((packed)); | 331 | char flags; |
| 332 | short timestamp __attribute__((packed)); | 332 | short timestamp; |
| 333 | short reserved[2] __attribute__((packed)); | 333 | short reserved[2]; |
| 334 | long buf_addr __attribute__((packed)); | 334 | long buf_addr; |
| 335 | }; | 335 | } __attribute__((packed)); |
| 336 | 336 | ||
| 337 | #endif | 337 | #endif |
| 338 | 338 | ||
