summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_run.c
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2013-04-15 09:23:03 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2013-04-15 09:23:03 +0000
commit5cef08fefab2a1e12eeb54bbb0608448920630e8 (patch)
tree54b4b49685c176f00e369f015a0e43fd73199777 /sys/dev/usb/if_run.c
parentef6d59f94200628194940cb20aa4986edec4b629 (diff)
Get rid of various 'typedef struct' definitions and use plain structure
definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@
Diffstat (limited to 'sys/dev/usb/if_run.c')
-rw-r--r--sys/dev/usb/if_run.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c
index dd9fcae2d20..b03d75936f8 100644
--- a/sys/dev/usb/if_run.c
+++ b/sys/dev/usb/if_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_run.c,v 1.91 2012/10/12 19:53:24 haesbaert Exp $ */
+/* $OpenBSD: if_run.c,v 1.92 2013/04/15 09:23:01 mglocker Exp $ */
/*-
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -358,8 +358,8 @@ void run_calibrate_cb(struct run_softc *, void *);
void run_newassoc(struct ieee80211com *, struct ieee80211_node *,
int);
void run_rx_frame(struct run_softc *, uint8_t *, int);
-void run_rxeof(usbd_xfer_handle, usbd_private_handle, usbd_status);
-void run_txeof(usbd_xfer_handle, usbd_private_handle, usbd_status);
+void run_rxeof(struct usbd_xfer *, void *, usbd_status);
+void run_txeof(struct usbd_xfer *, void *, usbd_status);
int run_tx(struct run_softc *, struct mbuf *,
struct ieee80211_node *);
void run_start(struct ifnet *);
@@ -2051,7 +2051,7 @@ run_rx_frame(struct run_softc *sc, uint8_t *buf, int dmalen)
}
void
-run_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status)
+run_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
{
struct run_rx_data *data = priv;
struct run_softc *sc = data->sc;
@@ -2101,7 +2101,7 @@ skip: /* setup a new transfer */
}
void
-run_txeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status)
+run_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
{
struct run_tx_data *data = priv;
struct run_softc *sc = data->sc;