Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb fix locking botch.
details: https://anonhg.NetBSD.org/src/rev/dce6b7c61a4a
branches: trunk
changeset: 1002450:dce6b7c61a4a
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Aug 01 01:19:21 2019 +0000
description:
fix locking botch.
diffstat:
sys/dev/usb/if_axe.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 2659708d483e -r dce6b7c61a4a sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Thu Aug 01 00:10:22 2019 +0000
+++ b/sys/dev/usb/if_axe.c Thu Aug 01 01:19:21 2019 +0000
@@ -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 @@
/* 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
}
Home |
Main Index |
Thread Index |
Old Index