Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci One timeout message (the write one) in bge_miibu...
details: https://anonhg.NetBSD.org/src/rev/f6bc6051399b
branches: trunk
changeset: 368272:f6bc6051399b
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jul 02 08:33:26 2022 +0000
description:
One timeout message (the write one) in bge_miibus_writereg is enough.
diffstat:
sys/dev/pci/if_bge.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r ce62e54d6609 -r f6bc6051399b sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Sat Jul 02 08:31:43 2022 +0000
+++ b/sys/dev/pci/if_bge.c Sat Jul 02 08:33:26 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.360 2022/07/02 08:31:43 skrll Exp $ */
+/* $NetBSD: if_bge.c,v 1.361 2022/07/02 08:33:26 skrll Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.360 2022/07/02 08:31:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.361 2022/07/02 08:33:26 skrll Exp $");
#include <sys/param.h>
@@ -1184,11 +1184,6 @@
bge_ape_unlock(sc, sc->bge_phy_ape_lock);
- if (i == BGE_TIMEOUT) {
- aprint_error_dev(sc->bge_dev, "PHY read timed out\n");
- return ETIMEDOUT;
- }
-
return rv;
}
Home |
Main Index |
Thread Index |
Old Index