summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-05-05 13:43:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-05-05 13:43:26 +0000
commit0f4d363fb353d83ab774c24ec91fbe4b5837bebc (patch)
treed220abbc3417e2450b0fab29e7b6bf4380e54613 /sys/dev/usb
parent62ab3e9b4b9342adc5bc2b31ad2847e58e4000d5 (diff)
Remove axe_rxstart() which is an uneeded leftover from the FreeBSD version.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_axe.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index 03f5d77327e..d45149e66c6 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_axe.c,v 1.64 2007/04/26 17:00:28 miod Exp $ */
+/* $OpenBSD: if_axe.c,v 1.65 2007/05/05 13:43:25 jsg Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Jonathan Gray <jsg@openbsd.org>
@@ -183,7 +183,6 @@ Static void axe_rxeof(usbd_xfer_handle, usbd_private_handle, usbd_status);
Static void axe_txeof(usbd_xfer_handle, usbd_private_handle, usbd_status);
Static void axe_tick(void *);
Static void axe_tick_task(void *);
-Static void axe_rxstart(struct ifnet *);
Static void axe_start(struct ifnet *);
Static int axe_ioctl(struct ifnet *, u_long, caddr_t);
Static void axe_init(void *);
@@ -896,29 +895,6 @@ axe_tx_list_init(struct axe_softc *sc)
return (0);
}
-Static void
-axe_rxstart(struct ifnet *ifp)
-{
- struct axe_softc *sc;
- struct axe_chain *c;
-
- sc = ifp->if_softc;
- axe_lock_mii(sc);
- c = &sc->axe_cdata.axe_rx_chain[sc->axe_cdata.axe_rx_prod];
-
- memset(c->axe_buf, 0, sc->axe_bufsz);
-
- /* Setup new transfer. */
- usbd_setup_xfer(c->axe_xfer, sc->axe_ep[AXE_ENDPT_RX],
- c, c->axe_buf, sc->axe_bufsz,
- USBD_SHORT_XFER_OK | USBD_NO_COPY,
- USBD_NO_TIMEOUT, axe_rxeof);
- usbd_transfer(c->axe_xfer);
- axe_unlock_mii(sc);
-
- return;
-}
-
/*
* A frame has been uploaded: pass the resulting mbuf chain up to
* the higher level protocols.