diff options
-rw-r--r-- | sys/dev/ic/dwc_gmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dwc_gmac.c b/sys/dev/ic/dwc_gmac.c index e9fbf81b12c..3d19b7439e7 100644 --- a/sys/dev/ic/dwc_gmac.c +++ b/sys/dev/ic/dwc_gmac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc_gmac.c,v 1.10 2018/05/06 17:08:08 kettenis Exp $ */ +/* $OpenBSD: dwc_gmac.c,v 1.11 2018/12/30 20:11:59 kettenis Exp $ */ /* $NetBSD: dwc_gmac.c,v 1.34 2015/08/21 20:12:29 jmcneill Exp $ */ /*- @@ -290,7 +290,7 @@ dwc_gmac_reset(struct dwc_gmac_softc *sc) size_t cnt; bus_space_write_4(sc->sc_bst, sc->sc_bsh, AWIN_GMAC_DMA_BUSMODE, bus_space_read_4(sc->sc_bst, sc->sc_bsh, AWIN_GMAC_DMA_BUSMODE) | GMAC_BUSMODE_RESET); - for (cnt = 0; cnt < 3000; cnt++) { + for (cnt = 0; cnt < 30000; cnt++) { if ((bus_space_read_4(sc->sc_bst, sc->sc_bsh, AWIN_GMAC_DMA_BUSMODE) & GMAC_BUSMODE_RESET) == 0) return 0; |