Re: [PATCH net-next 3/4] net: phy: sfp: Separate enumerations and states

2017-11-09 Thread Florian Fainelli
On 11/08/2017 12:58 AM, Russell King - ARM Linux wrote: > On Tue, Nov 07, 2017 at 07:49:10PM -0800, Florian Fainelli wrote: >> Create separate enumerations for the SFP physical state (computed from >> GPIOs), >> device state, module state, and actual state machine. This will make it >> easier >

Re: [PATCH net-next 3/4] net: phy: sfp: Separate enumerations and states

2017-11-08 Thread Russell King - ARM Linux
On Tue, Nov 07, 2017 at 07:49:10PM -0800, Florian Fainelli wrote: > Create separate enumerations for the SFP physical state (computed from GPIOs), > device state, module state, and actual state machine. This will make it easier > to make sure the correct states are used, and also pretty print those

[PATCH net-next 3/4] net: phy: sfp: Separate enumerations and states

2017-11-07 Thread Florian Fainelli
Create separate enumerations for the SFP physical state (computed from GPIOs), device state, module state, and actual state machine. This will make it easier to make sure the correct states are used, and also pretty print those to help debugging. Signed-off-by: Florian Fainelli --- drivers/net/p