diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-02-07 15:46:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-15 13:44:17 -0500 |
commit | bd196ec7f03fff6935f66a9a3cf27accd34a75b9 (patch) | |
tree | 8b815f83d5f135a31bce577c88a053b47fa1befc | |
parent | 19af35546de68c872dcb687613e0902a602cb20e (diff) |
wavelan: mark hardware interfacing structures as packed
With assists from Russell King <rmk+kernel@arm.linux.org.uk> and
Andrew Morton <akpm@linux-foundation.org>...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/wavelan.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/wavelan.h b/drivers/net/wireless/wavelan.h index 27172cde5a39..9ab360558ffd 100644 --- a/drivers/net/wireless/wavelan.h +++ b/drivers/net/wireless/wavelan.h | |||
@@ -85,7 +85,7 @@ union hacs_u | |||
85 | #define HASR_MMC_INTR 0x0002 /* Interrupt request from MMC */ | 85 | #define HASR_MMC_INTR 0x0002 /* Interrupt request from MMC */ |
86 | #define HASR_MMC_BUSY 0x0004 /* MMC busy indication */ | 86 | #define HASR_MMC_BUSY 0x0004 /* MMC busy indication */ |
87 | #define HASR_PSA_BUSY 0x0008 /* LAN parameter storage area busy */ | 87 | #define HASR_PSA_BUSY 0x0008 /* LAN parameter storage area busy */ |
88 | }; | 88 | } __attribute__ ((packed)); |
89 | 89 | ||
90 | typedef struct ha_t ha_t; | 90 | typedef struct ha_t ha_t; |
91 | struct ha_t | 91 | struct ha_t |
@@ -292,7 +292,7 @@ struct mmw_t | |||
292 | #define MMW_EXT_ANT_INTERNAL 0x00 /* Internal antenna */ | 292 | #define MMW_EXT_ANT_INTERNAL 0x00 /* Internal antenna */ |
293 | #define MMW_EXT_ANT_EXTERNAL 0x03 /* External antenna */ | 293 | #define MMW_EXT_ANT_EXTERNAL 0x03 /* External antenna */ |
294 | #define MMW_EXT_ANT_IQ_TEST 0x1C /* IQ test pattern (set to 0) */ | 294 | #define MMW_EXT_ANT_IQ_TEST 0x1C /* IQ test pattern (set to 0) */ |
295 | }; | 295 | } __attribute__ ((packed)); |
296 | 296 | ||
297 | #define MMW_SIZE 37 | 297 | #define MMW_SIZE 37 |
298 | 298 | ||
@@ -347,7 +347,7 @@ struct mmr_t | |||
347 | unsigned char mmr_unused4[1]; /* unused */ | 347 | unsigned char mmr_unused4[1]; /* unused */ |
348 | unsigned char mmr_fee_data_l; /* Read data from EEPROM (low) */ | 348 | unsigned char mmr_fee_data_l; /* Read data from EEPROM (low) */ |
349 | unsigned char mmr_fee_data_h; /* Read data from EEPROM (high) */ | 349 | unsigned char mmr_fee_data_h; /* Read data from EEPROM (high) */ |
350 | }; | 350 | } __attribute__ ((packed)); |
351 | 351 | ||
352 | #define MMR_SIZE 36 | 352 | #define MMR_SIZE 36 |
353 | 353 | ||