Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1563815
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 |
| Date | 2017-01-20 18:40 +0100 |
| Message-ID | <t1Lkl-1JC-3@gated-at.bofh.it> (permalink) |
| References | <t1sKK-6S0-21@gated-at.bofh.it> <t1sKK-6S0-19@gated-at.bofh.it> <t1tx7-7sA-11@gated-at.bofh.it> <t1vyV-eH-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Vvien and Andrew,
On ven., janv. 20 2017, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Jan 19, 2017 at 05:26:03PM -0500, Vivien Didelot wrote:
>> Gregory CLEMENT <gregory.clement@free-electrons.com> writes:
>>
>> > +static bool mv88e6xxx_6341_family(struct mv88e6xxx_chip *chip)
>> > +{
>> > + return chip->info->family == MV88E6XXX_FAMILY_6341;
>> > +}
>>
>> I don't want to see these erronous family checks anymore, but I cannot
>> blame you for adding it since not all the code is moved to ops yet ;)
If there a series about to be merged I can rebase my series on it. Else
I propose to keep it and convert the family check to ops when you will
send the series for it.
>>
>> > MV88E6XXX_FAMILY_6165, /* 6123 6161 6165 */
>> > MV88E6XXX_FAMILY_6185, /* 6108 6121 6122 6131 6152 6155 6182 6185 */
>> > MV88E6XXX_FAMILY_6320, /* 6320 6321 */
>> > + MV88E6XXX_FAMILY_6341, /* 6141 6341 */
>>
>> Maybe I missed it, Andrew, can you confirm that 6341 is a proper Marvell
>> family of switch chips?
>
> My understand is that it is. Marvell have not added it to DSDT. There
> is a new SDK called UMSD, also GPLv2 and BSD. They call this family
> Topaz, and the 6390 is Peridot.
I confirm that 6141 and 6341 are called Topaz. Actually I can add the
support for the 6141 too, it is just a matter of adding an ID and maybe
removing some ops as 6141 is a subset of 6341.
Gregory
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-01-19 22:50 +0100
Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-01-19 23:40 +0100
Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 Andrew Lunn <andrew@lunn.ch> - 2017-01-20 01:50 +0100
Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-01-20 03:00 +0100
Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-01-20 18:40 +0100
Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 Andrew Lunn <andrew@lunn.ch> - 2017-01-21 00:20 +0100
Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-01-20 18:40 +0100
csiph-web