diff options
author | Christian Lamparter <chunkeey@web.de> | 2008-11-29 16:35:43 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-05 09:35:44 -0500 |
commit | 64c354ddcd65c98d9a1e2a8f7fb5cc80c7fa488e (patch) | |
tree | ccec32736bbb126b0c0e7d07a66821f7d5525ffa /drivers/net/wireless/p54/p54common.h | |
parent | 25900ef0191af98bbb24d8088c6887af31c1ba27 (diff) |
p54: include support for 2.13.24.0 USB LM87 Firmwares
Those firmwares are probably capable of reprogramming the device's eeprom.
We better support them officially, before all the accidents happen.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54common.h')
-rw-r--r-- | drivers/net/wireless/p54/p54common.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/drivers/net/wireless/p54/p54common.h b/drivers/net/wireless/p54/p54common.h index d292ffbec08c..5a68fdae7730 100644 --- a/drivers/net/wireless/p54/p54common.h +++ b/drivers/net/wireless/p54/p54common.h | |||
@@ -246,9 +246,21 @@ struct memrecord { | |||
246 | }; | 246 | }; |
247 | 247 | ||
248 | struct p54_eeprom_lm86 { | 248 | struct p54_eeprom_lm86 { |
249 | __le16 offset; | 249 | union { |
250 | __le16 len; | 250 | struct { |
251 | u8 data[0]; | 251 | __le16 offset; |
252 | __le16 len; | ||
253 | u8 data[0]; | ||
254 | } v1; | ||
255 | struct { | ||
256 | __le32 offset; | ||
257 | __le16 len; | ||
258 | u8 magic2; | ||
259 | u8 pad; | ||
260 | u8 magic[4]; | ||
261 | u8 data[0]; | ||
262 | } v2; | ||
263 | } __attribute__ ((packed)); | ||
252 | } __attribute__ ((packed)); | 264 | } __attribute__ ((packed)); |
253 | 265 | ||
254 | enum p54_rx_decrypt_status { | 266 | enum p54_rx_decrypt_status { |