summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/hif.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 12:17:33 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-13 12:34:29 +0200
commit66b693c3b84876d33afd35b9d717d8b9d07384c8 (patch)
treeef47e8bba54045d903dbe28d81eb30f78e127330 /drivers/net/wireless/ath/ath6kl/hif.h
parentbd24a50fe66ef1f64a84a3d02e0f464bb394bb9b (diff)
downloadblackbird-op-linux-66b693c3b84876d33afd35b9d717d8b9d07384c8.tar.gz
blackbird-op-linux-66b693c3b84876d33afd35b9d717d8b9d07384c8.zip
ath6kl: move bmi calls to hif driver
In preparation for USB support which has it's own method for bmi. Based on code by Kevin Fang. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/hif.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.h b/drivers/net/wireless/ath/ath6kl/hif.h
index f2dc3bcdae4a..42004e9069b6 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.h
+++ b/drivers/net/wireless/ath/ath6kl/hif.h
@@ -244,6 +244,8 @@ struct ath6kl_hif_ops {
void (*cleanup_scatter)(struct ath6kl *ar);
int (*suspend)(struct ath6kl *ar, struct cfg80211_wowlan *wow);
int (*resume)(struct ath6kl *ar);
+ int (*bmi_read)(struct ath6kl *ar, u8 *buf, u32 len);
+ int (*bmi_write)(struct ath6kl *ar, u8 *buf, u32 len);
int (*power_on)(struct ath6kl *ar);
int (*power_off)(struct ath6kl *ar);
void (*stop)(struct ath6kl *ar);
OpenPOWER on IntegriCloud