Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3276359imm; Mon, 4 Jun 2018 00:14:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJwDZCXG5VU+AUjfGS8uvKPrIlJsHFlFXQvptXkCGNvjx5H/XcBDx1whs8x2aP2+FmIZVl+ X-Received: by 2002:a63:924f:: with SMTP id s15-v6mr16197569pgn.368.1528096471501; Mon, 04 Jun 2018 00:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528096471; cv=none; d=google.com; s=arc-20160816; b=NsEs0XXKFvf9imtOMuCyZA1LuqABi1NZKr0m7XKAmFTMYcqqELVBy9F1swZrNB6L0z a88RBQEp4Rrpsay9hei4xYldcR7pM2P4zW6q95Z6ZatSRfWcqMDhsp7mHbwXaITMICni s7mbYtL7xiTKHMMp1mBPIttDl1tghBgSmSyAj9I4n6KZUUNxH7NNkxsUyecXB7B+d5P1 TaR30MlFA2mQPik4Ma8I32iI3mUPTIofnSgq1HZ95DyM1OmyahjeNoRpJ3VegZNVKyLi E8CJlMr1J8aPf2mCWgkL4OFQV1CmTZ4J2Ldl79J97dlfFsSssZgCwyen+eNocS7pIPgY P8BA== 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=geG9edk2PIfFLlygslIkYYlWr5XiePLsg8zoZUOh8D4=; b=UcF2YWpMBn/cfXezqb+Wp/3L9cbFzyxwejsGEb4C/MwdJedKS8BOoOhIfgB9P9QdiO NzFVeAgdkD6+X8R9WYVjXwp049cG1Cqji3p73/14v4zZ3uSIJ76b4sgwbeo2Z4hA5IEE AS2NQn7d2lSSQ8398bwh+m0iQnxOk0Up9LphRDQhbpJ5eHscu7wnqt/hjDChz4wTizA7 XRusbhouzmCRF2pNg5EUASIoCt+Jpe7O391VlyQGT2dxCSc/4TQIHsewp9J3xGk9gLKs rR0tePCQyLMoCGzB8XZsXFZhj1Ok2VMrWwogdzjlWbo+VGyOVQeYXit0yZq0lg+CU/GY 2IJg== 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 g14-v6si4666396plq.41.2018.06.04.00.14.17; Mon, 04 Jun 2018 00:14:31 -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 S1753742AbeFDHNy (ORCPT + 99 others); Mon, 4 Jun 2018 03:13:54 -0400 Received: from inva021.nxp.com ([92.121.34.21]:34204 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753306AbeFDHKZ (ORCPT ); Mon, 4 Jun 2018 03:10:25 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id ACD1B2000EF; Mon, 4 Jun 2018 09:10:23 +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 6DEC92000F1; Mon, 4 Jun 2018 09:10:23 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id AC87840C95; Mon, 4 Jun 2018 00:10:21 -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 w547ADCr029072; Mon, 4 Jun 2018 00:10:18 -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: [PATCH 01/10] fsl/fman: share the event interrupt Date: Mon, 4 Jun 2018 15:08:28 +0800 Message-Id: <20180604070837.19265-2-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180604070837.19265-1-yangbo.lu@nxp.com> References: <20180604070837.19265-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 --- 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