Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2017 09:08:27 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Warner Losh <imp@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r314249 - head/sys/dev/pci
Message-ID:  <CANCZdfp_5c=SGJU2HQMCUQ9hFYZJjV=EP2WtamuaX0jGgjk26A@mail.gmail.com>
In-Reply-To: <201702250611.v1P6BoOH080908@repo.freebsd.org>
References:  <201702250611.v1P6BoOH080908@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 24, 2017 at 11:11 PM, Warner Losh <imp@freebsd.org> wrote:
> Author: imp
> Date: Sat Feb 25 06:11:50 2017
> New Revision: 314249
> URL: https://svnweb.freebsd.org/changeset/base/314249
>
> Log:
>   Rename pci_pcie_intr to pci_pcie_intr_hotplug.
>
>   Sponsored by: Netflix

Forgot to add

Differential Review: https://reviews.freebsd.org/D9716

> Modified:
>   head/sys/dev/pci/pci_pci.c
>
> Modified: head/sys/dev/pci/pci_pci.c
> ==============================================================================
> --- head/sys/dev/pci/pci_pci.c  Sat Feb 25 06:11:36 2017        (r314248)
> +++ head/sys/dev/pci/pci_pci.c  Sat Feb 25 06:11:50 2017        (r314249)
> @@ -1148,7 +1148,7 @@ pcib_pcie_hotplug_update(struct pcib_sof
>  }
>
>  static void
> -pcib_pcie_intr(void *arg)
> +pcib_pcie_intr_hotplug(void *arg)
>  {
>         struct pcib_softc *sc;
>         device_t dev;
> @@ -1261,7 +1261,7 @@ pcib_pcie_cc_timeout(void *arg)
>         } else {
>                 device_printf(dev,
>             "Missed HotPlug interrupt waiting for Command Completion\n");
> -               pcib_pcie_intr(sc);
> +               pcib_pcie_intr_hotplug(sc);
>         }
>  }
>
> @@ -1284,7 +1284,7 @@ pcib_pcie_dll_timeout(void *arg)
>         } else if (sta != sc->pcie_link_sta) {
>                 device_printf(dev,
>                     "Missed HotPlug interrupt waiting for DLL Active\n");
> -               pcib_pcie_intr(sc);
> +               pcib_pcie_intr_hotplug(sc);
>         }
>  }
>
> @@ -1330,7 +1330,7 @@ pcib_alloc_pcie_irq(struct pcib_softc *s
>         }
>
>         error = bus_setup_intr(dev, sc->pcie_irq, INTR_TYPE_MISC,
> -           NULL, pcib_pcie_intr, sc, &sc->pcie_ihand);
> +           NULL, pcib_pcie_intr_hotplug, sc, &sc->pcie_ihand);
>         if (error) {
>                 device_printf(dev, "Failed to setup PCI-e interrupt handler\n");
>                 bus_release_resource(dev, SYS_RES_IRQ, rid, sc->pcie_irq);
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp_5c=SGJU2HQMCUQ9hFYZJjV=EP2WtamuaX0jGgjk26A>