Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci revert rev. 1.29 'Only tick mii if the phy had a...
details: https://anonhg.NetBSD.org/src/rev/f01702a39c5f
branches: trunk
changeset: 319839:f01702a39c5f
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Jun 13 19:28:18 2018 +0000
description:
revert rev. 1.29 'Only tick mii if the phy had a status change', as neither
OpenBSD nor FreeBSD drivers have this conditional
diffstat:
sys/dev/pci/if_msk.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r dc547b85e119 -r f01702a39c5f sys/dev/pci/if_msk.c
--- a/sys/dev/pci/if_msk.c Wed Jun 13 17:35:15 2018 +0000
+++ b/sys/dev/pci/if_msk.c Wed Jun 13 19:28:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_msk.c,v 1.61 2018/06/12 21:36:34 jdolecek Exp $ */
+/* $NetBSD: if_msk.c,v 1.62 2018/06/13 19:28:18 jdolecek Exp $ */
/* $OpenBSD: if_msk.c,v 1.42 2007/01/17 02:43:02 krw Exp $ */
/*
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.61 2018/06/12 21:36:34 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.62 2018/06/13 19:28:18 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1952,11 +1952,7 @@
int s;
s = splnet();
- gpsr = SK_YU_READ_2(sc_if, YUKON_GPSR);
- if ((gpsr & YU_GPSR_MII_PHY_STC) != 0) {
- SK_YU_WRITE_2(sc_if, YUKON_GPSR, YU_GPSR_MII_PHY_STC);
- mii_tick(mii);
- }
+ mii_tick(mii);
splx(s);
callout_schedule(&sc_if->sk_tick_ch, hz);
Home |
Main Index |
Thread Index |
Old Index