From owner-svn-src-all@freebsd.org Sat Feb 25 16:08:28 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 984ADCEDBCE for ; Sat, 25 Feb 2017 16:08:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 61C532FF for ; Sat, 25 Feb 2017 16:08:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x232.google.com with SMTP id h10so39902004ith.1 for ; Sat, 25 Feb 2017 08:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ev1MJCZSTXXMWoRFlLaLhzVBWIxl/l55wJILZbmSppQ=; b=cED1XRBhxgobbe4WlY0ZZ99nsAG0I+8MgzE+wLk5Vhb+huljuxTLBLcPfDiWiIRRAR 0a8nQBxs7UevRSUr5In2PVtB0GCyeKMB3sCv/9Qtx2bA0MVlLabSXgbCvS5YU+Zyt6G/ c0Fn1w+pY6q5jJx1lhNhIJ6fKzG3X0DXSYu2aSTEtonOCW1EDp61KHAf7UpzbK5tmKwM y3DjYNGLRq6UaIglwVEHkrUa6F5v+aQs8IrlKHBqFj13aX4XztISnEeIrr4c1CkMLZr/ 7LWCTavsxLtlVPSfaK3u12+ctcg5UGPjWpsYCWRCm5am1HZ8QZcsFQD2t0gqFcXREtt0 a34Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ev1MJCZSTXXMWoRFlLaLhzVBWIxl/l55wJILZbmSppQ=; b=nGRcKUPXYRz0VA3ZB+FxnE3Fz25MPwhJPs7MilthiU3BJsubBQw03SDjhleijTVKSr /UAg6Pf7VvDjJ1hp8vrvPtnhmggtQYHqnj3OlToX0ZpcBIEPGDIk5pjSY4CvGq4Gxt/l 3IYf4xBDx6ElyGMzllWUHjUPjU6cnKNlhd6f2ll99juZ4wYB6c2a0RCbdzNZD28PT6vD X14JHj7hPhN3dtg8MZ4vRCC/LrV7SN+jStHFOMk/pTT8lxNh5jS+bFT+qpsve9DQ57XT XDLMXfTbd31Ct0wgUfoE2fy9l6cediNWQOKVuWqC83U/dP7mu1TNxcdXQMgQYaNhgfpq Q6Bw== X-Gm-Message-State: AMke39lDra5gFFmXpFlJ+imhCDkYuQarU084AJeHmLWgJQyQ9CTgWDetILjnNHeYwDNmKTlCoaW9+ptTettwEw== X-Received: by 10.36.93.213 with SMTP id w204mr8110014ita.60.1488038907606; Sat, 25 Feb 2017 08:08:27 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.145.132 with HTTP; Sat, 25 Feb 2017 08:08:27 -0800 (PST) X-Originating-IP: [69.53.245.200] In-Reply-To: <201702250611.v1P6BoOH080908@repo.freebsd.org> References: <201702250611.v1P6BoOH080908@repo.freebsd.org> From: Warner Losh Date: Sat, 25 Feb 2017 09:08:27 -0700 X-Google-Sender-Auth: 4U0ghvCrzpqXn7Suc2u2uTdUJZc Message-ID: Subject: Re: svn commit: r314249 - head/sys/dev/pci To: Warner Losh Cc: src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 16:08:28 -0000 On Fri, Feb 24, 2017 at 11:11 PM, Warner Losh 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); >