@@ -1,4 +1,4 @@
-/* $NetBSD: if_gmc.c,v 1.5 2012/07/22 14:32:50 matt Exp $ */
+/* $NetBSD: if_gmc.c,v 1.6 2013/06/11 16:57:05 msaitoh Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -47,7 +47,7 @@
#include <net/if_ether.h>
#include <net/if_dl.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.5 2012/07/22 14:32:50 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.6 2013/06/11 16:57:05 msaitoh Exp $");
#define MAX_TXSEG 32
@@ -706,7 +706,7 @@
sc->sc_if.if_ierrors++;
}
if (status & INT4_RGMII_STSCHG) {
- mii_tick(&sc->sc_mii);
+ mii_pollstat(&sc->sc_mii);
}
bus_space_write_4(sc->sc_iot, sc->sc_ioh, GMAC_INT4_STATUS, status);
@@ -1,4 +1,4 @@
-/* $NetBSD: smc91cxx.c,v 1.83 2012/10/27 17:18:22 chs Exp $ */
+/* $NetBSD: smc91cxx.c,v 1.84 2013/06/11 16:57:05 msaitoh Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.83 2012/10/27 17:18:22 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.84 2013/06/11 16:57:05 msaitoh Exp $");
#include "opt_inet.h"
@@ -1102,7 +1102,7 @@
/*
* Internal PHY status change
*/
- mii_tick(&sc->sc_mii);
+ mii_pollstat(&sc->sc_mii);
}
/*