Module Name: src Committed By: mrg Date: Thu Aug 1 01:19:21 UTC 2019
Modified Files: src/sys/dev/usb: if_axe.c Log Message: fix locking botch. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/dev/usb/if_axe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/if_axe.c diff -u src/sys/dev/usb/if_axe.c:1.102 src/sys/dev/usb/if_axe.c:1.103 --- src/sys/dev/usb/if_axe.c:1.102 Sun Jul 21 10:27:56 2019 +++ src/sys/dev/usb/if_axe.c Thu Aug 1 01:19:21 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_axe.c,v 1.102 2019/07/21 10:27:56 mrg Exp $ */ +/* $NetBSD: if_axe.c,v 1.103 2019/08/01 01:19:21 mrg Exp $ */ /* $OpenBSD: if_axe.c,v 1.137 2016/04/13 11:03:37 mpi Exp $ */ /* @@ -87,7 +87,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.102 2019/07/21 10:27:56 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.103 2019/08/01 01:19:21 mrg Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -716,11 +716,11 @@ axe_reset(struct axe_softc *sc) /* Wait a little while for the chip to get its brains in order. */ DELAY(1000); #else - axe_lock_mii(sc); + axe_lock_mii_sc_locked(sc); axe_ax_init(sc); - axe_unlock_mii(sc); + axe_unlock_mii_sc_locked(sc); #endif }