summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-01-11 01:18:38 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:00:25 -0500
commitcd8d3d321285a34b4e29cb7b04e552c49cc0f018 (patch)
treeca4960a84c0e5cd2cd5cd28d4e68b1cc5748d6ee /drivers/net/wireless/p54/p54.h
parent4628ae75583311fcbbd02f4eebcfc08514dfbd65 (diff)
downloadblackbird-op-linux-cd8d3d321285a34b4e29cb7b04e552c49cc0f018.tar.gz
blackbird-op-linux-cd8d3d321285a34b4e29cb7b04e552c49cc0f018.zip
p54spi: p54spi driver
This patch adds the p54spi driver. 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.h9
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 {
#define FW_LM87 0x4c4d3837
#define FW_LM20 0x4c4d3230
+enum fw_state {
+ FW_STATE_OFF,
+ FW_STATE_BOOTING,
+ FW_STATE_READY,
+ FW_STATE_RESET,
+ FW_STATE_RESETTING,
+};
+
struct p54_common {
struct ieee80211_hw *hw;
u32 rx_start;
@@ -154,6 +162,7 @@ struct p54_common {
int p54_rx(struct ieee80211_hw *dev, struct sk_buff *skb);
void p54_free_skb(struct ieee80211_hw *dev, struct sk_buff *skb);
int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware *fw);
+int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len);
int p54_read_eeprom(struct ieee80211_hw *dev);
struct ieee80211_hw *p54_init_common(size_t priv_data_len);
void p54_free_common(struct ieee80211_hw *dev);
OpenPOWER on IntegriCloud