Module Name: src
Committed By: skrll
Date: Sat Jul 2 08:33:26 UTC 2022
Modified Files:
src/sys/dev/pci: if_bge.c
Log Message:
One timeout message (the write one) in bge_miibus_writereg is enough.
To generate a diff of this commit:
cvs rdiff -u -r1.360 -r1.361 src/sys/dev/pci/if_bge.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/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.360 src/sys/dev/pci/if_bge.c:1.361
--- src/sys/dev/pci/if_bge.c:1.360 Sat Jul 2 08:31:43 2022
+++ src/sys/dev/pci/if_bge.c Sat Jul 2 08:33:26 2022
@@ -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_miibus_writereg(device_t dev, int ph
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;
}