Re: [PATCH net-next 2/5] net: phylink: support for link gpio interrupt

2019-05-29 Thread David Miller
From: Russell King - ARM Linux admin Date: Tue, 28 May 2019 11:02:49 +0100 > I was intending to add a note to this patch indicating that it > depends on "net: phylink: ensure consistent phy interface mode" but > failed to do before sending it out - sorry! If you'd prefer a patch > that doesn't d

Re: [PATCH net-next 2/5] net: phylink: support for link gpio interrupt

2019-05-28 Thread Russell King - ARM Linux admin
Hi David, I was intending to add a note to this patch indicating that it depends on "net: phylink: ensure consistent phy interface mode" but failed to do before sending it out - sorry! If you'd prefer a patch that doesn't depend on that, please ask. The only difference is the first two lines of

[PATCH net-next 2/5] net: phylink: support for link gpio interrupt

2019-05-28 Thread Russell King
Add support for using GPIO interrupts with a fixed-link GPIO rather than polling the GPIO every second and invoking the phylink resolution. This avoids unnecessary calls to mac_config(). Reviewed-by: Florian Fainelli Signed-off-by: Russell King --- drivers/net/phy/phylink.c | 36 ++