Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/ic/sl811hs.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/ic/sl811hs.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.82 retrieving revision 1.83 diff -u -p -r1.82 -r1.83 --- src/sys/dev/ic/sl811hs.c 2016/06/19 07:38:08 1.82 +++ src/sys/dev/ic/sl811hs.c 2016/06/20 07:12:00 1.83 @@ -1,4 +1,4 @@ -/* $NetBSD: sl811hs.c,v 1.82 2016/06/19 07:38:08 skrll Exp $ */ +/* $NetBSD: sl811hs.c,v 1.83 2016/06/20 07:12:00 skrll Exp $ */ /* * Not (c) 2007 Matthew Orgass @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.82 2016/06/19 07:38:08 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.83 2016/06/20 07:12:00 skrll Exp $"); #ifdef _KERNEL_OPT #include "opt_slhci.h" @@ -1153,6 +1153,10 @@ slhci_preinit(struct slhci_softc *sc, Po t = &sc->sc_transfers; +#ifdef SLHCI_DEBUG + ssc = sc; +#endif + mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB); mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_USB); @@ -1211,10 +1215,6 @@ slhci_attach(struct slhci_softc *sc) sc->sc_cb_softintr = softint_establish(SOFTINT_NET, slhci_callback_entry, sc); -#ifdef SLHCI_DEBUG - ssc = sc; -#endif - if (t->sltype == SLTYPE_SL811HS_R12) rev = "(rev 1.2)"; else if (t->sltype == SLTYPE_SL811HS_R14)