Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb usbnet(9): Revert previous -- usbnet_media_upd d...
details: https://anonhg.NetBSD.org/src/rev/5b0e254b0cd6
branches: trunk
changeset: 369494:5b0e254b0cd6
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Aug 20 12:30:00 2022 +0000
description:
usbnet(9): Revert previous -- usbnet_media_upd does have IFNET_LOCK.
Not sure why I thought otherwise.
diffstat:
sys/dev/usb/usbnet.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 1a6edb7b1ecc -r 5b0e254b0cd6 sys/dev/usb/usbnet.c
--- a/sys/dev/usb/usbnet.c Sat Aug 20 12:28:25 2022 +0000
+++ b/sys/dev/usb/usbnet.c Sat Aug 20 12:30:00 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbnet.c,v 1.98 2022/08/20 12:28:25 riastradh Exp $ */
+/* $NetBSD: usbnet.c,v 1.99 2022/08/20 12:30:00 riastradh Exp $ */
/*
* Copyright (c) 2019 Matthew R. Green
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.98 2022/08/20 12:28:25 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.99 2022/08/20 12:30:00 riastradh Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -986,8 +986,6 @@
mii_phy_reset(miisc);
}
- if (unp->unp_stopping)
- return 0;
return ether_mediachange(ifp);
}
Home |
Main Index |
Thread Index |
Old Index