diff options
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r-- | drivers/net/wireless/p54/p54.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h index ac11efd19db2..64492feca9b2 100644 --- a/drivers/net/wireless/p54/p54.h +++ b/drivers/net/wireless/p54/p54.h | |||
@@ -104,6 +104,14 @@ struct p54_cal_database { | |||
104 | #define FW_LM87 0x4c4d3837 | 104 | #define FW_LM87 0x4c4d3837 |
105 | #define FW_LM20 0x4c4d3230 | 105 | #define FW_LM20 0x4c4d3230 |
106 | 106 | ||
107 | enum fw_state { | ||
108 | FW_STATE_OFF, | ||
109 | FW_STATE_BOOTING, | ||
110 | FW_STATE_READY, | ||
111 | FW_STATE_RESET, | ||
112 | FW_STATE_RESETTING, | ||
113 | }; | ||
114 | |||
107 | struct p54_common { | 115 | struct p54_common { |
108 | struct ieee80211_hw *hw; | 116 | struct ieee80211_hw *hw; |
109 | u32 rx_start; | 117 | u32 rx_start; |
@@ -154,6 +162,7 @@ struct p54_common { | |||
154 | int p54_rx(struct ieee80211_hw *dev, struct sk_buff *skb); | 162 | int p54_rx(struct ieee80211_hw *dev, struct sk_buff *skb); |
155 | void p54_free_skb(struct ieee80211_hw *dev, struct sk_buff *skb); | 163 | void p54_free_skb(struct ieee80211_hw *dev, struct sk_buff *skb); |
156 | int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware *fw); | 164 | int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware *fw); |
165 | int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len); | ||
157 | int p54_read_eeprom(struct ieee80211_hw *dev); | 166 | int p54_read_eeprom(struct ieee80211_hw *dev); |
158 | struct ieee80211_hw *p54_init_common(size_t priv_data_len); | 167 | struct ieee80211_hw *p54_init_common(size_t priv_data_len); |
159 | void p54_free_common(struct ieee80211_hw *dev); | 168 | void p54_free_common(struct ieee80211_hw *dev); |