Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/dev/usb Pull up following revision(s) (requested by s...
details: https://anonhg.NetBSD.org/src/rev/c21a91ef0779
branches: netbsd-7
changeset: 799852:c21a91ef0779
user: snj <snj%NetBSD.org@localhost>
date: Tue Mar 08 09:52:39 2016 +0000
description:
Pull up following revision(s) (requested by skrll in ticket #1135):
sys/dev/usb/if_smsc.c: revision 1.26
PR/50904: Fix variable assignment inside if-clause.
diffstat:
sys/dev/usb/if_smsc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a8a71f4bc399 -r c21a91ef0779 sys/dev/usb/if_smsc.c
--- a/sys/dev/usb/if_smsc.c Tue Mar 08 09:49:00 2016 +0000
+++ b/sys/dev/usb/if_smsc.c Tue Mar 08 09:52:39 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_smsc.c,v 1.19.2.1 2014/09/22 11:11:10 martin Exp $ */
+/* $NetBSD: if_smsc.c,v 1.19.2.2 2016/03/08 09:52:39 snj 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 $ */
@@ -771,7 +771,7 @@
smsc_write_reg(sc, SMSC_PM_CTRL, SMSC_PM_CTRL_PHY_RST);
if ((err = smsc_wait_for_bits(sc, SMSC_PM_CTRL,
- SMSC_PM_CTRL_PHY_RST) != 0)) {
+ SMSC_PM_CTRL_PHY_RST)) != 0) {
smsc_warn_printf(sc, "timed-out waiting for phy reset to "
"complete\n");
goto init_failed;
Home |
Main Index |
Thread Index |
Old Index