summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-09-04 12:29:38 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-09-05 22:19:52 +0200
commit2b80848e3818fb1c8ccddc105b065a86c68afa9d (patch)
tree02a8d14e9af88e79668d2b0b5414cf8438997a84 /drivers/net/wireless/p54/p54.h
parentath9k: uses/needs led_classdev_[un]register (diff)
downloadlinux-2b80848e3818fb1c8ccddc105b065a86c68afa9d.tar.xz
linux-2b80848e3818fb1c8ccddc105b065a86c68afa9d.zip
p54usb: support LM87 firmwares
This patch adds the necessary changes to support LM87 firmwares. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r--drivers/net/wireless/p54/p54.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h
index 3d44ab34ee69..cd2a39f544b1 100644
--- a/drivers/net/wireless/p54/p54.h
+++ b/drivers/net/wireless/p54/p54.h
@@ -42,6 +42,11 @@ struct p54_control_hdr {
#define ISL38XX_DEV_FIRMWARE_ADDR 0x20000
+#define FW_FMAC 0x464d4143
+#define FW_LM86 0x4c4d3836
+#define FW_LM87 0x4c4d3837
+#define FW_LM20 0x4c4d3230
+
struct p54_common {
u32 rx_start;
u32 rx_end;
@@ -68,6 +73,7 @@ struct p54_common {
unsigned int tx_hdr_len;
void *cached_vdcf;
unsigned int fw_var;
+ unsigned int fw_interface;
struct ieee80211_tx_queue_stats tx_stats[8];
void *eeprom;
struct completion eeprom_comp;