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>
This commit is contained in:
Christian Lamparter
2008-11-29 22:35:43 +01:00
committed by John W. Linville
parent 25900ef019
commit 64c354ddcd
2 changed files with 42 additions and 11 deletions

View File

@@ -246,9 +246,21 @@ struct memrecord {
};
struct p54_eeprom_lm86 {
__le16 offset;
__le16 len;
u8 data[0];
union {
struct {
__le16 offset;
__le16 len;
u8 data[0];
} v1;
struct {
__le32 offset;
__le16 len;
u8 magic2;
u8 pad;
u8 magic[4];
u8 data[0];
} v2;
} __attribute__ ((packed));
} __attribute__ ((packed));
enum p54_rx_decrypt_status {