Re: [PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-12-15 Thread Andrew Lunn
> > 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

Re: [PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-12-14 Thread Pavel Machek
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 > > > >

RE: [PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-12-08 Thread Tristram.Ha
> 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 > >

Re: [PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-12-07 Thread Pavel Machek
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

RE: [PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-12-05 Thread Tristram.Ha
> > 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

RE: [PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-12-05 Thread Tristram.Ha
> 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

Re: [PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-11-20 Thread Pavel Machek
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:

[PATCH net-next 1/1] net: dsa: microchip: Add Microchip KSZ8895 DSA driver

2017-11-16 Thread Tristram.Ha
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 +