Re: [PATCH v4 3/3] net: phy: leds: add support for led triggers on phy link state change

From: Andrew Lunn
Date: Thu Oct 13 2016 - 14:24:21 EST

> Do you have suggestions on how to better handle the choice of the array size
> and the speeds?

phydev->supported lists the speeds this phy supports.