Re: [PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-14 Thread Andrew Lunn
> diff --git a/drivers/net/dsa/microchip/ksz9477.c > b/drivers/net/dsa/microchip/ksz9477.c > new file mode 100644 > index 000..214d380 > --- /dev/null > +++ b/drivers/net/dsa/microchip/ksz9477.c > @@ -0,0 +1,1328 @@ > +/* > + * Microchip KSZ9477 switch driver main logic > + * > + * Copyright

Re: [PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-14 Thread Andrew Lunn
> diff --git a/drivers/net/dsa/microchip/ksz9477.c > b/drivers/net/dsa/microchip/ksz9477.c > new file mode 100644 > index 000..214d380 > --- /dev/null > +++ b/drivers/net/dsa/microchip/ksz9477.c > @@ -0,0 +1,1328 @@ > +/* > + * Microchip KSZ9477 switch driver main logic > + * > + * Copyright

Re: [PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-09 Thread Florian Fainelli
On 10/06/2017 01:33 PM, tristram...@microchip.com wrote: > From: Tristram Ha > > 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

Re: [PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-09 Thread Florian Fainelli
On 10/06/2017 01:33 PM, tristram...@microchip.com wrote: > From: Tristram Ha > > 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

Re: [PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-09 Thread Pavel Machek
On Fri 2017-10-06 13:33:03, tristram...@microchip.com wrote: > From: Tristram Ha > > 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

Re: [PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-09 Thread Pavel Machek
On Fri 2017-10-06 13:33:03, tristram...@microchip.com wrote: > From: Tristram Ha > > 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

[PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-06 Thread Tristram.Ha
From: Tristram Ha 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

[PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-06 Thread Tristram.Ha
From: Tristram Ha 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: