From: Yangbo Lu <yangbo.lu@nxp.com>
To: netdev@vger.kernel.org, madalin.bucur@nxp.com,
Richard Cochran <richardcochran@gmail.com>,
Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
"David S . Miller" <davem@davemloft.net>
Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Yangbo Lu <yangbo.lu@nxp.com>
Subject: [v3, 01/10] fsl/fman: share the event interrupt
Date: Thu, 7 Jun 2018 17:20:41 +0800 [thread overview]
Message-ID: <20180607092050.46128-2-yangbo.lu@nxp.com> (raw)
In-Reply-To: <20180607092050.46128-1-yangbo.lu@nxp.com>
This patch is to share fman event interrupt because
the 1588 timer driver will also use this interrupt.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
---
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
next prev parent reply other threads:[~2018-06-07 9:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-07 9:20 [v3, 00/10] Support DPAA PTP clock and timestamping Yangbo Lu
2018-06-07 9:20 ` Yangbo Lu [this message]
2018-06-07 9:20 ` [v3, 02/10] ptp: support DPAA FMan 1588 timer in ptp_qoriq Yangbo Lu
2018-06-07 9:20 ` [v3, 03/10] dt-binding: ptp_qoriq: add DPAA FMan support Yangbo Lu
2018-06-11 18:25 ` Rob Herring
2018-06-07 9:20 ` [v3, 04/10] powerpc/mpc85xx: move ptp timer out of fman in dts Yangbo Lu
2018-06-07 9:20 ` [v3, 05/10] arm64: dts: fsl: move ptp timer out of fman Yangbo Lu
2018-06-07 9:20 ` [v3, 06/10] fsl/fman: add set_tstamp interface Yangbo Lu
2018-06-07 9:20 ` [v3, 07/10] fsl/fman_port: support getting timestamp Yangbo Lu
2018-06-08 8:39 ` kbuild test robot
2018-06-07 9:20 ` [v3, 08/10] fsl/fman: define frame description command UPD Yangbo Lu
2018-06-07 9:20 ` [v3, 09/10] dpaa_eth: add support for hardware timestamping Yangbo Lu
2018-06-07 9:20 ` [v3, 10/10] dpaa_eth: add the get_ts_info interface for ethtool Yangbo Lu
2018-06-08 4:27 ` [v3, 00/10] Support DPAA PTP clock and timestamping Richard Cochran
2018-06-08 4:45 ` Y.b. Lu
2018-06-12 14:27 ` Madalin-cristian Bucur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180607092050.46128-2-yangbo.lu@nxp.com \
--to=yangbo.lu@nxp.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).