diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/hisax/hisax.h | 18 | ||||
-rw-r--r-- | drivers/isdn/hisax/hisax_fcpcipnp.h | 18 | ||||
-rw-r--r-- | drivers/net/3c527.h | 50 | ||||
-rw-r--r-- | drivers/net/irda/vlsi_ir.h | 4 | ||||
-rw-r--r-- | drivers/net/wan/sdla.c | 6 |
5 files changed, 48 insertions, 48 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index 26c545fa223b..1b85ce166af8 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h | |||
@@ -396,17 +396,17 @@ struct isar_hw { | |||
396 | 396 | ||
397 | struct hdlc_stat_reg { | 397 | struct hdlc_stat_reg { |
398 | #ifdef __BIG_ENDIAN | 398 | #ifdef __BIG_ENDIAN |
399 | u_char fill __attribute__((packed)); | 399 | u_char fill; |
400 | u_char mode __attribute__((packed)); | 400 | u_char mode; |
401 | u_char xml __attribute__((packed)); | 401 | u_char xml; |
402 | u_char cmd __attribute__((packed)); | 402 | u_char cmd; |
403 | #else | 403 | #else |
404 | u_char cmd __attribute__((packed)); | 404 | u_char cmd; |
405 | u_char xml __attribute__((packed)); | 405 | u_char xml; |
406 | u_char mode __attribute__((packed)); | 406 | u_char mode; |
407 | u_char fill __attribute__((packed)); | 407 | u_char fill; |
408 | #endif | 408 | #endif |
409 | }; | 409 | } __attribute__((packed)); |
410 | 410 | ||
411 | struct hdlc_hw { | 411 | struct hdlc_hw { |
412 | union { | 412 | union { |
diff --git a/drivers/isdn/hisax/hisax_fcpcipnp.h b/drivers/isdn/hisax/hisax_fcpcipnp.h index bd8a22e4d6a2..21fbcedf3a94 100644 --- a/drivers/isdn/hisax/hisax_fcpcipnp.h +++ b/drivers/isdn/hisax/hisax_fcpcipnp.h | |||
@@ -12,17 +12,17 @@ enum { | |||
12 | 12 | ||
13 | struct hdlc_stat_reg { | 13 | struct hdlc_stat_reg { |
14 | #ifdef __BIG_ENDIAN | 14 | #ifdef __BIG_ENDIAN |
15 | u_char fill __attribute__((packed)); | 15 | u_char fill; |
16 | u_char mode __attribute__((packed)); | 16 | u_char mode; |
17 | u_char xml __attribute__((packed)); | 17 | u_char xml; |
18 | u_char cmd __attribute__((packed)); | 18 | u_char cmd; |
19 | #else | 19 | #else |
20 | u_char cmd __attribute__((packed)); | 20 | u_char cmd; |
21 | u_char xml __attribute__((packed)); | 21 | u_char xml; |
22 | u_char mode __attribute__((packed)); | 22 | u_char mode; |
23 | u_char fill __attribute__((packed)); | 23 | u_char fill; |
24 | #endif | 24 | #endif |
25 | }; | 25 | } __attribute__((packed)); |
26 | 26 | ||
27 | struct fritz_bcs { | 27 | struct fritz_bcs { |
28 | struct hisax_b_if b_if; | 28 | struct hisax_b_if b_if; |
diff --git a/drivers/net/3c527.h b/drivers/net/3c527.h index c10f009ce9b6..53b5b071df08 100644 --- a/drivers/net/3c527.h +++ b/drivers/net/3c527.h | |||
@@ -32,43 +32,43 @@ | |||
32 | 32 | ||
33 | struct mc32_mailbox | 33 | struct mc32_mailbox |
34 | { | 34 | { |
35 | u16 mbox __attribute((packed)); | 35 | u16 mbox; |
36 | u16 data[1] __attribute((packed)); | 36 | u16 data[1]; |
37 | }; | 37 | } __attribute((packed)); |
38 | 38 | ||
39 | struct skb_header | 39 | struct skb_header |
40 | { | 40 | { |
41 | u8 status __attribute((packed)); | 41 | u8 status; |
42 | u8 control __attribute((packed)); | 42 | u8 control; |
43 | u16 next __attribute((packed)); /* Do not change! */ | 43 | u16 next; /* Do not change! */ |
44 | u16 length __attribute((packed)); | 44 | u16 length; |
45 | u32 data __attribute((packed)); | 45 | u32 data; |
46 | }; | 46 | } __attribute((packed)); |
47 | 47 | ||
48 | struct mc32_stats | 48 | struct mc32_stats |
49 | { | 49 | { |
50 | /* RX Errors */ | 50 | /* RX Errors */ |
51 | u32 rx_crc_errors __attribute((packed)); | 51 | u32 rx_crc_errors; |
52 | u32 rx_alignment_errors __attribute((packed)); | 52 | u32 rx_alignment_errors; |
53 | u32 rx_overrun_errors __attribute((packed)); | 53 | u32 rx_overrun_errors; |
54 | u32 rx_tooshort_errors __attribute((packed)); | 54 | u32 rx_tooshort_errors; |
55 | u32 rx_toolong_errors __attribute((packed)); | 55 | u32 rx_toolong_errors; |
56 | u32 rx_outofresource_errors __attribute((packed)); | 56 | u32 rx_outofresource_errors; |
57 | 57 | ||
58 | u32 rx_discarded __attribute((packed)); /* via card pattern match filter */ | 58 | u32 rx_discarded; /* via card pattern match filter */ |
59 | 59 | ||
60 | /* TX Errors */ | 60 | /* TX Errors */ |
61 | u32 tx_max_collisions __attribute((packed)); | 61 | u32 tx_max_collisions; |
62 | u32 tx_carrier_errors __attribute((packed)); | 62 | u32 tx_carrier_errors; |
63 | u32 tx_underrun_errors __attribute((packed)); | 63 | u32 tx_underrun_errors; |
64 | u32 tx_cts_errors __attribute((packed)); | 64 | u32 tx_cts_errors; |
65 | u32 tx_timeout_errors __attribute((packed)) ; | 65 | u32 tx_timeout_errors; |
66 | 66 | ||
67 | /* various cruft */ | 67 | /* various cruft */ |
68 | u32 dataA[6] __attribute((packed)); | 68 | u32 dataA[6]; |
69 | u16 dataB[5] __attribute((packed)); | 69 | u16 dataB[5]; |
70 | u32 dataC[14] __attribute((packed)); | 70 | u32 dataC[14]; |
71 | }; | 71 | } __attribute((packed)); |
72 | 72 | ||
73 | #define STATUS_MASK 0x0F | 73 | #define STATUS_MASK 0x0F |
74 | #define COMPLETED (1<<7) | 74 | #define COMPLETED (1<<7) |
diff --git a/drivers/net/irda/vlsi_ir.h b/drivers/net/irda/vlsi_ir.h index 741aecc655df..a82a4ba8de4f 100644 --- a/drivers/net/irda/vlsi_ir.h +++ b/drivers/net/irda/vlsi_ir.h | |||
@@ -577,8 +577,8 @@ struct ring_descr_hw { | |||
577 | struct { | 577 | struct { |
578 | u8 addr_res[3]; | 578 | u8 addr_res[3]; |
579 | volatile u8 status; /* descriptor status */ | 579 | volatile u8 status; /* descriptor status */ |
580 | } rd_s __attribute__((packed)); | 580 | } __attribute__((packed)) rd_s; |
581 | } rd_u __attribute((packed)); | 581 | } __attribute((packed)) rd_u; |
582 | } __attribute__ ((packed)); | 582 | } __attribute__ ((packed)); |
583 | 583 | ||
584 | #define rd_addr rd_u.addr | 584 | #define rd_addr rd_u.addr |
diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c index 036adc4f8ba7..22e794071cf4 100644 --- a/drivers/net/wan/sdla.c +++ b/drivers/net/wan/sdla.c | |||
@@ -329,9 +329,9 @@ static int sdla_cpuspeed(struct net_device *dev, struct ifreq *ifr) | |||
329 | 329 | ||
330 | struct _dlci_stat | 330 | struct _dlci_stat |
331 | { | 331 | { |
332 | short dlci __attribute__((packed)); | 332 | short dlci; |
333 | char flags __attribute__((packed)); | 333 | char flags; |
334 | }; | 334 | } __attribute__((packed)); |
335 | 335 | ||
336 | struct _frad_stat | 336 | struct _frad_stat |
337 | { | 337 | { |