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

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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to