Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1628397imm; Wed, 6 Jun 2018 20:30:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKAm6lnO6LqI+mXjXzIFQxOWbDGEp3rJ12UoZ6/X/3CoJxk/gnSsXYk8rEiRFArsHfpK19b X-Received: by 2002:a62:3c15:: with SMTP id j21-v6mr170650pfa.7.1528342204937; Wed, 06 Jun 2018 20:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528342204; cv=none; d=google.com; s=arc-20160816; b=J5z0U4ii59SYJsHUQ4CfKniZY94rjYZZaWSNzQAOfkhBY778KOVW9vBdbJ2ZSw3Oh5 SsGV3jyUDR1qP79UIi6PmckwvbydL7qOnFtWpntjAP/82lBLBN/HUCaSnPR2ITOlT6tQ DSqLSdx3Cdxpy/O+/LXh8m5iQ2Y2jCp2vsvKtSIzlh+2PL8Hx8xHid35FLmqtZYkn+rF DQ/Cw6OhlIChIbOOuCZeMUVbFQvj7dyNXRDYbSU9IUnFb49uixaiW+mo8TI4Q+MOy9Bg NVBk7iu5JR4SiyOzrJqJ9lYkTBuKYwaf1rt7sFwHktctwjgygKQD4gC6iCQSJEsgQP9c iHRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=PTyXoNHRssRWItoDW0xvajB+oeHbzYqjtvmDQTvqNzk=; b=nEtjnCpOu/qDFl/5ylwU6z1wt9+Zjk07484TNddyzUCJD05tv36IhIUWhSBIfFsfLL srgvo3MJEGZCHrk9Su0bNUrcuOPDaKJRQPWunnHeT68w/ujyL7qbxSTFM8URo/NI9z/r E2YR/pAGlMqmDpQk2hgAeGTxv2Bpa6LEh8J9zToTVlRdtMqopEwCXgwrrgPkIGFfoHed EFHsbm7z5bHFhXWO57sObsSfsy6D6FhsvLw38/ADcl6/YjGNzLa1tfC9c8iponwWmoQS bRV0ulZAm27XLbXn36g7oMZTwarvuHvfXUzb+/YJxUzgq4JzR8DCxKY5YbEb1C9hfELt /WtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i88-v6si25898188pfa.219.2018.06.06.20.29.50; Wed, 06 Jun 2018 20:30:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753577AbeFGDYk (ORCPT + 99 others); Wed, 6 Jun 2018 23:24:40 -0400 Received: from inva021.nxp.com ([92.121.34.21]:33527 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540AbeFGDYh (ORCPT ); Wed, 6 Jun 2018 23:24:37 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E24F02001E1; Thu, 7 Jun 2018 05:24:35 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A33272000F7; Thu, 7 Jun 2018 05:24:35 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 4E89E40C72; Wed, 6 Jun 2018 20:24:35 -0700 (MST) Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w573OSwO023286; Wed, 6 Jun 2018 20:24:32 -0700 From: Yangbo Lu To: netdev@vger.kernel.org, madalin.bucur@nxp.com, Richard Cochran , Rob Herring , Shawn Guo , "David S . Miller" Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangbo Lu Subject: [v2, 01/10] fsl/fman: share the event interrupt Date: Thu, 7 Jun 2018 11:22:47 +0800 Message-Id: <20180607032256.39802-2-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607032256.39802-1-yangbo.lu@nxp.com> References: <20180607032256.39802-1-yangbo.lu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is to share fman event interrupt because the 1588 timer driver will also use this interrupt. Signed-off-by: Yangbo Lu --- Changes for v2: - None. --- drivers/net/ethernet/freescale/fman/fman.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index 9530405..c415ac6 100644 --- a/drivers/net/ethernet/freescale/fman/fman.c +++ b/drivers/net/ethernet/freescale/fman/fman.c @@ -2801,7 +2801,8 @@ static irqreturn_t fman_irq(int irq, void *handle) of_node_put(muram_node); of_node_put(fm_node); - err = devm_request_irq(&of_dev->dev, irq, fman_irq, 0, "fman", fman); + err = devm_request_irq(&of_dev->dev, irq, fman_irq, IRQF_SHARED, + "fman", fman); if (err < 0) { dev_err(&of_dev->dev, "%s: irq %d allocation failed (error = %d)\n", __func__, irq, err); -- 1.7.1