-/* $OpenBSD: if_urndis.c,v 1.24 2010/07/31 10:59:37 mk Exp $ */
+/* $OpenBSD: if_urndis.c,v 1.25 2010/07/31 11:51:45 mk Exp $ */
/*
* Copyright (c) 2010 Jonathan Armani <armani@openbsd.org>
int urndis_newbuf(struct urndis_softc *, struct urndis_chain *);
int urndis_ioctl(struct ifnet *, u_long, caddr_t);
+#if 0
void urndis_watchdog(struct ifnet *);
+#endif
void urndis_start(struct ifnet *);
void urndis_rxeof(usbd_xfer_handle, usbd_private_handle, usbd_status);
u_int32_t urndis_ctrl_set(struct urndis_softc *, u_int32_t, void *, size_t);
u_int32_t urndis_ctrl_set_param(struct urndis_softc *, const char *, u_int32_t,
void *, size_t);
+#if 0
u_int32_t urndis_ctrl_reset(struct urndis_softc *);
u_int32_t urndis_ctrl_keepalive(struct urndis_softc *);
+#endif
int urndis_encap(struct urndis_softc *, struct mbuf *, int);
void urndis_decap(struct urndis_softc *, struct urndis_chain *, u_int32_t);
return rval;
}
+#if 0
/* XXX : adrreset, get it from response */
u_int32_t
urndis_ctrl_reset(struct urndis_softc *sc)
return rval;
}
+#endif
int
urndis_encap(struct urndis_softc *sc, struct mbuf *m, int idx)
return (error);
}
+#if 0
void
urndis_watchdog(struct ifnet *ifp)
{
urndis_ctrl_keepalive(sc);
}
+#endif
void
urndis_init(struct urndis_softc *sc)