From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vps0.lunn.ch ([185.16.172.187]:35168 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932260AbeCSMBe (ORCPT ); Mon, 19 Mar 2018 08:01:34 -0400 Date: Mon, 19 Mar 2018 13:01:31 +0100 From: Andrew Lunn To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Vivien Didelot , kernel@pengutronix.de, Florian Fainelli , netdev@vger.kernel.org, Gregory CLEMENT Subject: Re: [PATCH 4/4] net: dsa: mv88e6xxx: guess number of g1 irqs Message-ID: <20180319120131.GA19795@lunn.ch> References: <20180319100523.24498-1-u.kleine-koenig@pengutronix.de> <20180319100523.24498-5-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180319100523.24498-5-u.kleine-koenig@pengutronix.de> Sender: netdev-owner@vger.kernel.org List-ID: 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 >