Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb G/C sc_stop_task
details: https://anonhg.NetBSD.org/src/rev/fb535688c851
branches: nick-nhusb
changeset: 334625:fb535688c851
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Jan 31 11:41:14 2017 +0000
description:
G/C sc_stop_task
diffstat:
sys/dev/usb/if_smsc.c | 4 +---
sys/dev/usb/if_smscvar.h | 3 +--
2 files changed, 2 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 4b1d349df20c -r fb535688c851 sys/dev/usb/if_smsc.c
--- a/sys/dev/usb/if_smsc.c Tue Jan 31 11:39:46 2017 +0000
+++ b/sys/dev/usb/if_smsc.c Tue Jan 31 11:41:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_smsc.c,v 1.22.2.20 2017/01/31 11:39:46 skrll Exp $ */
+/* $NetBSD: if_smsc.c,v 1.22.2.21 2017/01/31 11:41:14 skrll Exp $ */
/* $OpenBSD: if_smsc.c,v 1.4 2012/09/27 12:38:11 jsg Exp $ */
/* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
@@ -1038,7 +1038,6 @@
}
/* Setup the endpoints for the SMSC LAN95xx device(s) */
usb_init_task(&sc->sc_tick_task, smsc_tick_task, sc, 0);
- usb_init_task(&sc->sc_stop_task, (void (*)(void *))smsc_stop, sc, 0);
mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_NONE);
mutex_init(&sc->sc_txlock, MUTEX_DEFAULT, IPL_SOFTUSB);
@@ -1185,7 +1184,6 @@
* in the same thread as detach.
*/
usb_rem_task(sc->sc_udev, &sc->sc_tick_task);
- usb_rem_task(sc->sc_udev, &sc->sc_stop_task);
s = splusb();
diff -r 4b1d349df20c -r fb535688c851 sys/dev/usb/if_smscvar.h
--- a/sys/dev/usb/if_smscvar.h Tue Jan 31 11:39:46 2017 +0000
+++ b/sys/dev/usb/if_smscvar.h Tue Jan 31 11:41:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_smscvar.h,v 1.3.4.5 2016/12/28 08:53:56 skrll Exp $ */
+/* $NetBSD: if_smscvar.h,v 1.3.4.6 2017/01/31 11:41:14 skrll Exp $ */
/* $OpenBSD: if_smscreg.h,v 1.2 2012/09/27 12:38:11 jsg Exp $ */
/*-
@@ -78,7 +78,6 @@
int sc_refcnt;
struct usb_task sc_tick_task;
- struct usb_task sc_stop_task;
int sc_ed[SMSC_ENDPT_MAX];
struct usbd_pipe * sc_ep[SMSC_ENDPT_MAX];
Home |
Main Index |
Thread Index |
Old Index