> > I also have a simple utility to communicate with that registers file to
> > read/write
> > register individually. Is there a standard Linux utility for that
> > function?
>
> I don't think standard utility exists. Binary file which can be
> written by userspace shoudl be enough.
mii-tool wi
Hi!
Thanks for the support.
> > root@miro:~# mii-tool lan3
> > lan3: negotiated 1000baseT-HD flow-control, link ok
> >
> > But IIRC the switch is 100mbit? And dmesg does get it right. Its just
> > mii-tool that is confused.
> >
> > Link detection seems to work
> >
> > root@miro:/sys/bus/spi/de
> Ok, let me retry:
>
> > One thing to debug this problem is to dump the MIB counters. Use the
> ethtool
> > utility to show MIB counters of both ports:
> >
> > ethtool -S lan3
> > ethtool -S eth0
> >
> > Assuming eth0 is the MAC controller that drives the switch, the receive
> counters of
> > th
Hi!
> > I went back to my version of dsa patches, and test above works as
> > expected.
>
> Sorry to be this late for the reply. I finally got hold of a KSZ8895 board
> that
> works with my SoC board to confirm the network communication.
>
> As expected the KSZ8895 board works correctly as the
> > Sorry to be this late for the reply. I finally got hold of a KSZ8895 board
> > that
> > works with my SoC board to confirm the network communication.
> >
> > As expected the KSZ8895 board works correctly as the chip uses the same
> > tail tagging feature in KSZ8795, and I did verify that boar
On Tue 2017-12-05 22:16:45, tristram...@microchip.com wrote:
> > Thanks for patches. I installed whole series on top of net-next.
> >
> > Hardware is:
> >
> > root@miro:~# cat /proc/cpuinfo
> > model name : ARM926EJ-S rev 5 (v5l)
> > Hardware : Freescale MXS (Device Tree)
> >
> > I added
> Thanks for patches. I installed whole series on top of net-next.
>
> Hardware is:
>
> root@miro:~# cat /proc/cpuinfo
> model name : ARM926EJ-S rev 5 (v5l)
> Hardware: Freescale MXS (Device Tree)
>
> I added devicetree chunks, and enabled DSA in the config. It seems
> switch is detect
Hi!
> From: Tristram Ha
>
> Add Microchip KSZ8895 DSA driver.
>
> Signed-off-by: Tristram Ha
> Reviewed-by: Woojung Huh
Thanks for patches. I installed whole series on top of net-next.
Hardware is:
root@miro:~# cat /proc/cpuinfo
model name : ARM926EJ-S rev 5 (v5l)
Hardware : Fre
From: Tristram Ha
Add Microchip KSZ8895 DSA driver.
Signed-off-by: Tristram Ha
Reviewed-by: Woojung Huh
---
drivers/net/dsa/microchip/Kconfig | 17 +
drivers/net/dsa/microchip/Makefile |2 +
drivers/net/dsa/microchip/ksz8895.c | 1276 +++
drive