Re: [PATCH net-next 3/3] net: dsa: microchip: add other KSZ9477 switch variants

2019-02-27 Thread Andrew Lunn
On Tue, Feb 26, 2019 at 03:37:45PM -0800, tristram...@microchip.com wrote: > From: Tristram Ha > > Add other switches in KSZ9477 family. > > KSZ9896 is a switch with 6 ports; the last one is typically used to > connect to MAC. > KSZ9567 is same as KSZ9897 but with 1588 PTP capability. > KSZ8567

Re: [PATCH net-next 3/3] net: dsa: microchip: add other KSZ9477 switch variants

2019-02-27 Thread Andrew Lunn
> + if (dev->dev->of_node) { > + char name[80]; > + > + /* KSZ8565 chip can only be set through device tree. */ > + if (!of_modalias_node(dev->dev->of_node, name, sizeof(name))) { > + if (!strcmp(name, "ksz8565")) { > +

Re: [PATCH net-next 3/3] net: dsa: microchip: add other KSZ9477 switch variants

2019-02-26 Thread kbuild test robot
Hi Tristram, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Tristram-Ha-microchip-com/net-dsa-microchip-add-KSZ9893-switch-support/20190227-141333 config: i386-randconfig-x009-201908 (attached as .co

[PATCH net-next 3/3] net: dsa: microchip: add other KSZ9477 switch variants

2019-02-26 Thread Tristram.Ha
From: Tristram Ha Add other switches in KSZ9477 family. KSZ9896 is a switch with 6 ports; the last one is typically used to connect to MAC. KSZ9567 is same as KSZ9897 but with 1588 PTP capability. KSZ8567 is same as KSZ9567 but without gigabit capability. KSZ9563 is same as KSZ9893 but with 1588