Re: [PATCH v2 1/2] net: dsa: ksz9477: add I2C managed mode support

2018-12-17 Thread Sergio Paracuellos
On Mon, Dec 17, 2018 at 8:38 AM Andrew Lunn wrote: > > On Sun, Dec 16, 2018 at 10:49:52AM +0100, Sergio Paracuellos wrote: > > In this mode the switch device and the internal phys will be managed via > > I2C interface. > > > > Signed-off-by: Sergio Paracuellos > > --- > > Changes v2: > > -

Re: [PATCH v2 1/2] net: dsa: ksz9477: add I2C managed mode support

2018-12-16 Thread Andrew Lunn
On Sun, Dec 16, 2018 at 10:49:52AM +0100, Sergio Paracuellos wrote: > In this mode the switch device and the internal phys will be managed via > I2C interface. > > Signed-off-by: Sergio Paracuellos > --- > Changes v2: > - Use dev->txbuf as transmition buffer which is allocated using >

[PATCH v2 1/2] net: dsa: ksz9477: add I2C managed mode support

2018-12-16 Thread Sergio Paracuellos
In this mode the switch device and the internal phys will be managed via I2C interface. Signed-off-by: Sergio Paracuellos --- Changes v2: - Use dev->txbuf as transmition buffer which is allocated using kernel allocators avoiding some possible DMA issues using the stack.