Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Remove extra register read in bce_mii_write().
details: https://anonhg.NetBSD.org/src/rev/a1253a20343e
branches: trunk
changeset: 838303:a1253a20343e
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Jan 10 08:27:21 2019 +0000
description:
Remove extra register read in bce_mii_write().
diffstat:
sys/dev/pci/if_bce.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r e08e8d0f3e71 -r a1253a20343e sys/dev/pci/if_bce.c
--- a/sys/dev/pci/if_bce.c Thu Jan 10 06:58:36 2019 +0000
+++ b/sys/dev/pci/if_bce.c Thu Jan 10 08:27:21 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bce.c,v 1.48 2018/12/09 11:14:02 jdolecek Exp $ */
+/* $NetBSD: if_bce.c,v 1.49 2019/01/10 08:27:21 msaitoh Exp $ */
/*
* Copyright (c) 2003 Clifford Wright. All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bce.c,v 1.48 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bce.c,v 1.49 2019/01/10 08:27:21 msaitoh Exp $");
#include "vlan.h"
@@ -1425,7 +1425,6 @@
break;
delay(10);
}
- rval = bus_space_read_4(sc->bce_btag, sc->bce_bhandle, BCE_MI_COMM);
if (i == BCE_TIMEOUT) {
aprint_error_dev(sc->bce_dev,
"PHY timed out writing phy %d, reg %d, val = 0x%08x\n", phy,
Home |
Main Index |
Thread Index |
Old Index