[BACK]Return to if_xennet_xenbus.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / xen / xen

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

Diff for /src/sys/arch/xen/xen/if_xennet_xenbus.c between version 1.74.2.3 and 1.74.2.4

version 1.74.2.3, 2018/09/06 06:55:44 version 1.74.2.4, 2018/11/26 01:52:28
Line 517  xennet_xenbus_resume(device_t dev, const
Line 517  xennet_xenbus_resume(device_t dev, const
                 goto abort_resume;                  goto abort_resume;
         aprint_verbose_dev(dev, "using event channel %d\n",          aprint_verbose_dev(dev, "using event channel %d\n",
             sc->sc_evtchn);              sc->sc_evtchn);
         sc->sc_ih = intr_establish_xname(0, &xen_pic, sc->sc_evtchn, IST_LEVEL,          sc->sc_ih = intr_establish_xname(-1, &xen_pic, sc->sc_evtchn, IST_LEVEL,
             IPL_NET, &xennet_handler, sc, false, device_xname(dev));              IPL_NET, &xennet_handler, sc, false, device_xname(dev));
         KASSERT(sc->sc_ih != NULL);          KASSERT(sc->sc_ih != NULL);
         return true;          return true;
Line 1386  xennet_init(struct ifnet *ifp)
Line 1386  xennet_init(struct ifnet *ifp)
         if ((ifp->if_flags & IFF_RUNNING) == 0) {          if ((ifp->if_flags & IFF_RUNNING) == 0) {
                 sc->sc_rx_ring.sring->rsp_event =                  sc->sc_rx_ring.sring->rsp_event =
                     sc->sc_rx_ring.rsp_cons + 1;                      sc->sc_rx_ring.rsp_cons + 1;
                 hypervisor_enable_event(sc->sc_evtchn);                  hypervisor_unmask_event(sc->sc_evtchn);
                 hypervisor_notify_via_evtchn(sc->sc_evtchn);                  hypervisor_notify_via_evtchn(sc->sc_evtchn);
                 xennet_reset(sc);                  xennet_reset(sc);
         }          }

Legend:
Removed from v.1.74.2.3  
changed lines
  Added in v.1.74.2.4

CVSweb <webmaster@jp.NetBSD.org>