diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-05-25 12:17:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:39 -0400 |
commit | 208fdd2f447899164bd139452c291b155e53cee9 (patch) | |
tree | c65f6dd5ad6846ea7179ece65594033a8dca9731 /drivers/net/wireless/libertas/dev.h | |
parent | 0583e8ef149700ede2aa181509e217c39e565f28 (diff) |
[PATCH] libertas: indirect all hardware access via hw_XXXX functions
This functions makes all libertas_sbi_XXX functions static to the
if_usb.c file and renames them to if_usb_XXXX(). The get called from
other places of the source code via priv->hw_XXXX().
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index d7673c91f480..32e2077617bb 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h | |||
@@ -162,6 +162,14 @@ struct _wlan_private { | |||
162 | 162 | ||
163 | struct delayed_work assoc_work; | 163 | struct delayed_work assoc_work; |
164 | struct workqueue_struct *assoc_thread; | 164 | struct workqueue_struct *assoc_thread; |
165 | |||
166 | /** Hardware access */ | ||
167 | int (*hw_register_dev) (wlan_private * priv); | ||
168 | int (*hw_unregister_dev) (wlan_private *); | ||
169 | int (*hw_prog_firmware) (wlan_private *); | ||
170 | int (*hw_host_to_card) (wlan_private * priv, u8 type, u8 * payload, u16 nb); | ||
171 | int (*hw_get_int_status) (wlan_private * priv, u8 *); | ||
172 | int (*hw_read_event_cause) (wlan_private *); | ||
165 | }; | 173 | }; |
166 | 174 | ||
167 | /** Association request | 175 | /** Association request |