Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1927200imm; Thu, 7 Jun 2018 02:33:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKPRVZw7MTBJm/H5BW/uD3rW6P7YzEqmvxd8wJmzqrSCNIUfS/JU+K6sGlKqcesY2pBJ3Zy X-Received: by 2002:a17:902:bd96:: with SMTP id q22-v6mr1259643pls.247.1528364011515; Thu, 07 Jun 2018 02:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528364011; cv=none; d=google.com; s=arc-20160816; b=K4OHeUubFCfwjLPtvGZOrUAjmPLATv+6C0zX5oIiBEVcP6FI8euvQDBn+4Xhdecfn1 1jjcIYkbcF5uQ7vMKg8i41yz2e6kNvTEiQkrns7MvVAB1idlmx1Rs/lgtiLDCUT5F3ZB kAjNJoRXdlndcqr/TWSFGnr9vokIoBfWk7uYSuppbTdX2WNIkEmIKpxJ5KgcIhqsLwd4 x9/cjhM/Igq5VjzxT//I8ZxpJJ6r6tJLZXoxHUVvpCyZyL8WIgscs8JqSizIZaIIxuDO gt0Dfnq+NZcUjohlJmagcH+pHa9X3MdV+/zdRnk19pEJV3Z7EDKM5dF/Q3M8rQlhSPJ4 muBA== 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=NZ+I69Lc3I/n7k4FwatgN9A9xM2+n4R8vTxZcZSgMCY=; b=Fe6dtYLGDpWIlk+4R8zj4zJycn9myamzR+WLgf6qZDgxNSNiXktqg48xuzPGXyvUdj tWoQcVIkJvylARpyithnAXGgO4DFgfeLC8oWZaRpLBw7/BmqcYh5ux/ZiIVBK4UWaI4q Ts8lfbbZCRcZFhWR16vLDd0hmAloY3zjVqAufov0lANYZwasM1TFn+Xw4lbf/mtWnBri hlaXv7N+aNnAHGgAZhb1j9B1EHPDERaCJiSFr6nQGky4vUxna8coeSsrs6llcKwNabJm nn6rPjSfH6Ccm1lcgZVinzAxNJaKAEGgWeLVgFPdpRdIXZfxstO1t/aPVVhKcuNqdPeD KH4A== 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 o12-v6si17982814pfd.52.2018.06.07.02.33.16; Thu, 07 Jun 2018 02:33: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 S932536AbeFGJ0Y (ORCPT + 99 others); Thu, 7 Jun 2018 05:26:24 -0400 Received: from inva020.nxp.com ([92.121.34.13]:46143 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753260AbeFGJW3 (ORCPT ); Thu, 7 Jun 2018 05:22:29 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6EB5D1A02A8; Thu, 7 Jun 2018 11:22:27 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2DF4A1A0019; Thu, 7 Jun 2018 11:22:27 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 8983A40A56; Thu, 7 Jun 2018 02:22:26 -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 w579MJ4h020959; Thu, 7 Jun 2018 02:22:23 -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: [v3, 01/10] fsl/fman: share the event interrupt Date: Thu, 7 Jun 2018 17:20:41 +0800 Message-Id: <20180607092050.46128-2-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607092050.46128-1-yangbo.lu@nxp.com> References: <20180607092050.46128-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. Changes for v3: - 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