From: Pavel Machek <pavel@ucw.cz>
To: Tristram.Ha@microchip.com
Cc: andrew@lunn.ch, f.fainelli@gmail.com,
ruediger.schmitt@philips.com, muvarov@gmail.com,
nathan.leigh.conrad@gmail.com,
vivien.didelot@savoirfairelinux.com,
UNGLinuxDriver@microchip.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: Microchip KSZ* DSA drivers Re: [PATCH v1 RFC 1/1] Add Microchip KSZ8795 DSA driver
Date: Tue, 14 Nov 2017 23:51:02 +0100 [thread overview]
Message-ID: <20171114225101.GA29650@amd> (raw)
In-Reply-To: <93AF473E2DA327428DE3D46B72B1E9FD41138B54@CHN-SV-EXMX02.mchp-main.com>
[-- Attachment #1: Type: text/plain, Size: 5218 bytes --]
On Tue 2017-11-14 01:49:47, Tristram.Ha@microchip.com wrote:
> > Subject: Microchip KSZ* DSA drivers Re: [PATCH v1 RFC 1/1] Add Microchip
> > KSZ8795 DSA driver
> >
> > Hi!
> >
> > Are there any news here? Is there new release planned? Is there a git
> > tree somewhere? I probably should get it working, soon.. so I guess I
> > can help with testing.
> >
>
> Reviewed patches will be submitted formally to net-next within this week.
>
> BTW, how is the KSZ8895 driver working for you? Are there some issues that
> prevent you from using it?
I tried patching it, but it seems I did not have all the neccessary
pieces, so I did not get it to build. KSZ8895 seemed to depend on all
the other drivers and I probably missed a patch somewhere.
I have these in my tree:
commit 6262f8173a21eec96f6b600adf5b9c7131e2c8d5
Author: Pavel Machek <pavel@denx.de>
Date: Sun Oct 22 12:46:03 2017 +0200
From: <Tristram.Ha@microchip.com>
Subject: [PATCH RFC] Add Microchip KSZ8895 DSA driver
From: Tristram Ha <Tristram.Ha@microchip.com>
Add Microchip KSZ8895 DSA driver.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit 4ea582e4b168b6413248ff587604c9fea6dc4f52
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:33:29 2017 -0700
Add other KSZ switch support so that patch check does not complain
Add other KSZ switch support so that patch check does not complain.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit 75d9e1a610590cb1f94b7ede3635360026fc4e57
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:33:05 2017 -0700
Modify tag_ksz.c so that tail tag code can be used by other KSZ switch drivers
Modify tag_ksz.c so that tail tag code can be used by other KSZ switch
drivers.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit 62efdaf5db7987e313846b82eef642404978cda7
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:33:04 2017 -0700
Add MIB counter reading support
Add MIB counter reading support.
Rename ksz_9477_reg.h to ksz9477_reg.h for consistency as the product
name is always KSZ####.
Header file ksz_priv.h no longer contains any chip specific data.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit 5b29601cfa2c3032af560ae7ab10f55974e493fe
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:33:03 2017 -0700
Break KSZ9477 DSA driver into two files
Break KSZ9477 DSA driver into two files in preparation to add more KSZ
switch drivers.
Add common functions in ksz_common.h so that other KSZ switch drivers
can access code in ksz_common.c.
Add ksz_spi.h for common functions used by KSZ switch SPI drivers.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit 02cb0a65cfe8434f93d9e16b0c65c86e5fe06870
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:33:02 2017 -0700
Rename ksz_spi.c to ksz9477_spi.c
Rename ksz_spi.c to ksz9477_spi.c and update Kconfig in preparation to add
more KSZ switch drivers.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit 0bc57b44d7d27fa7f7d682dd2222ed502d8682c6
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:33:01 2017 -0700
Rename some functions with ksz9477 prefix
Rename some functions with ksz9477 prefix to separate chip specific code
from common code.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit 2d3f74e7dd923d5d0c9c2c01609297be1bc56b67
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:33:00 2017 -0700
Clean up code according to patch check suggestions
Clean up code according to patch check suggestions.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit d0e348b7b7938be2e91997c1dcdea185c8166b00
Author: Tristram Ha <Tristram.Ha@microchip.com>
Date: Fri Oct 6 13:32:59 2017 -0700
Replace license with GPL
Replace license with GPL.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
commit d514cb5324feac3f6d8ede6649573f3c393f5e11
Author: Pavel Machek <pavel@denx.de>
Date: Sun Oct 22 12:33:21 2017 +0200
Config for v4.14-rc5.
...and I guess I miss some KSZ8795 stuff:
AR lib/built-in.o
drivers/net/dsa/microchip/ksz8895.c: In function
'ksz8895_get_tag_protocol':
drivers/net/dsa/microchip/ksz8895.c:633:9: error:
'DSA_TAG_PROTO_KSZ8795' undeclared (first use in this function)
drivers/net/dsa/microchip/ksz8895.c:633:9: note: each undeclared
identifier is reported only once for each function it appears in
drivers/net/dsa/microchip/ksz8895.c:634:1: warning: control reaches
end of non-void function [-Wreturn-type]
If you had a git tree, or simply one big patch I could apply.. that
would be welcome :-).
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
prev parent reply other threads:[~2017-11-14 22:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-06 20:33 [PATCH v1 RFC 0/1] Add Microchip KSZ8795 DSA driver Tristram.Ha
2017-10-06 20:33 ` [PATCH v1 RFC 1/1] " Tristram.Ha
2017-10-09 8:20 ` Maxim Uvarov
2017-10-09 18:24 ` Tristram.Ha
2017-10-11 20:59 ` Pavel Machek
2017-10-18 17:55 ` Tristram.Ha
2017-11-12 22:28 ` Microchip KSZ* DSA drivers " Pavel Machek
2017-11-14 1:49 ` Tristram.Ha
2017-11-14 22:51 ` Pavel Machek [this message]
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=20171114225101.GA29650@amd \
--to=pavel@ucw.cz \
--cc=Tristram.Ha@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=muvarov@gmail.com \
--cc=nathan.leigh.conrad@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=ruediger.schmitt@philips.com \
--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).