summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/orinoco.h
diff options
context:
space:
mode:
authorDavid Kilroy2009-06-19 00:21:28 +0200
committerJohn W. Linville2009-07-10 21:01:45 +0200
commit5381956b780e82805247c2ec8e32c4c665309394 (patch)
tree04f0f203a5b89dfd48fb8821be2c4ebf9ce3ed9a /drivers/net/wireless/orinoco/orinoco.h
parentorinoco: make firmware download less verbose (diff)
downloadkernel-qcow2-linux-5381956b780e82805247c2ec8e32c4c665309394.tar.gz
kernel-qcow2-linux-5381956b780e82805247c2ec8e32c4c665309394.tar.xz
kernel-qcow2-linux-5381956b780e82805247c2ec8e32c4c665309394.zip
orinoco: move netdev interface creation to main driver
With the move to cfg80211 it's nice to keep the hardware operations distinct from the interface, even though we can only support a single interface. This also means the driver resembles other cfg80211 drivers. Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco.h')
-rw-r--r--drivers/net/wireless/orinoco/orinoco.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h
index 608cc5e1bd9a..45aa616eb664 100644
--- a/drivers/net/wireless/orinoco/orinoco.h
+++ b/drivers/net/wireless/orinoco/orinoco.h
@@ -193,6 +193,10 @@ extern struct orinoco_private *alloc_orinocodev(
int (*stop_fw)(struct orinoco_private *, int));
extern void free_orinocodev(struct orinoco_private *priv);
extern int orinoco_init(struct orinoco_private *priv);
+extern int orinoco_if_add(struct orinoco_private *priv,
+ unsigned long base_addr,
+ unsigned int irq);
+extern void orinoco_if_del(struct orinoco_private *priv);
extern int __orinoco_up(struct orinoco_private *priv);
extern int __orinoco_down(struct orinoco_private *priv);
extern int orinoco_reinit_firmware(struct orinoco_private *priv);