[BACK]Return to if_wm.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / pci

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/pci/if_wm.c between version 1.606 and 1.607

version 1.606, 2018/12/17 04:14:40 version 1.607, 2018/12/17 04:21:44
Line 14192  wm_ulp_disable(struct wm_softc *sc)
Line 14192  wm_ulp_disable(struct wm_softc *sc)
         if (rv != 0) {          if (rv != 0) {
                 DPRINTF(WM_DEBUG_INIT, ("%s: %s: failed\n",                  DPRINTF(WM_DEBUG_INIT, ("%s: %s: failed\n",
                 device_xname(sc->sc_dev), __func__));                  device_xname(sc->sc_dev), __func__));
                 goto release;                  return -1;
         }          }
   
         /* Toggle LANPHYPC */          /* Toggle LANPHYPC */
Line 14428  wm_resume_workarounds_pchlan(struct wm_s
Line 14428  wm_resume_workarounds_pchlan(struct wm_s
                 uint16_t phy_reg;                  uint16_t phy_reg;
   
                 if (sc->phy.acquire(sc) != 0)                  if (sc->phy.acquire(sc) != 0)
                         goto release;                          return -1;
   
                 /* Clear Auto Enable LPI after link up */                  /* Clear Auto Enable LPI after link up */
                 sc->phy.readreg_locked(dev, 1, I217_LPI_GPIO_CTRL, &phy_reg);                  sc->phy.readreg_locked(dev, 1, I217_LPI_GPIO_CTRL, &phy_reg);

Legend:
Removed from v.1.606  
changed lines
  Added in v.1.607

CVSweb <webmaster@jp.NetBSD.org>