From: Andrew Lunn <andrew@lunn.ch>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
kernel@pengutronix.de, Florian Fainelli <f.fainelli@gmail.com>,
netdev@vger.kernel.org,
Gregory CLEMENT <gregory.clement@free-electrons.com>
Subject: Re: [PATCH 4/4] net: dsa: mv88e6xxx: guess number of g1 irqs
Date: Mon, 19 Mar 2018 13:01:31 +0100 [thread overview]
Message-ID: <20180319120131.GA19795@lunn.ch> (raw)
In-Reply-To: <20180319100523.24498-5-u.kleine-koenig@pengutronix.de>
On Mon, Mar 19, 2018 at 11:05:23AM +0100, Uwe Kleine-K�nig wrote:
> I don't have access to the documentation of the marvell switches, but
> with this change the switch driver successfully binds on the
> espressobin after its device tree makes use of the switch's irq line.
DaveM just accepted a patch like this from me.
Andrew
> ---
> drivers/net/dsa/mv88e6xxx/chip.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c
> index 38fe875b9631..b3696540e002 100644
> --- a/drivers/net/dsa/mv88e6xxx/chip.c
> +++ b/drivers/net/dsa/mv88e6xxx/chip.c
> @@ -3420,6 +3420,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
> .global2_addr = 0x1c,
> .age_time_coeff = 3750,
> .atu_move_port_mask = 0x1f,
> + .g1_irqs = 9,
> .g2_irqs = 10,
> .pvt = true,
> .multi_chip = true,
> @@ -3728,6 +3729,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
> .global2_addr = 0x1c,
> .age_time_coeff = 3750,
> .atu_move_port_mask = 0x1f,
> + .g1_irqs = 9,
> .g2_irqs = 10,
> .pvt = true,
> .multi_chip = true,
> --
> 2.16.2
>
next prev parent reply other threads:[~2018-03-19 12:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-19 10:05 [PATCH 0/4] net: dsa: mv88e6xxx: novice fixes and irq handling Uwe Kleine-König
2018-03-19 10:05 ` [PATCH 1/4] net: dsa: mv88e6xxx: Fix name of switch 88E6141 Uwe Kleine-König
2018-03-19 11:58 ` Andrew Lunn
2018-03-19 10:05 ` [PATCH 2/4] net: dsa: mv88e6xxx: fix typo in a comment Uwe Kleine-König
2018-03-19 11:58 ` Andrew Lunn
2018-03-19 10:05 ` [PATCH 3/4] net: dsa: mv88e6xxx: fix interrupt name for g2 irq Uwe Kleine-König
2018-03-19 11:59 ` Andrew Lunn
2018-03-19 10:05 ` [PATCH 4/4] net: dsa: mv88e6xxx: guess number of g1 irqs Uwe Kleine-König
2018-03-19 12:01 ` Andrew Lunn [this message]
2018-03-19 12:24 ` [PATCH 0/4] net: dsa: mv88e6xxx: novice fixes and irq handling Andrew Lunn
2018-03-19 16:37 ` Andrew Lunn
2018-03-20 9:30 ` Uwe Kleine-König
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=20180319120131.GA19795@lunn.ch \
--to=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=gregory.clement@free-electrons.com \
--cc=kernel@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vivien.didelot@savoirfairelinux.com \
/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).