Messages in this thread | | | Date | Tue, 08 May 2018 20:14:49 -0400 (EDT) | Subject | Re: [PATCH net-next] net: phy: sfp: handle cases where neither BR,min nor BR,max is given | From | David Miller <> |
| |
From: Antoine Tenart <antoine.tenart@bootlin.com> Date: Fri, 4 May 2018 17:21:03 +0200
> When computing the bitrate using values read from an SFP module EEPROM, > we use the nominal BR plus BR,min and BR,max to determine the > boundaries. But in some cases BR,min and BR,max aren't provided, which > led the SFP code to end up having the nominal value for both the minimum > and maximum bitrate values. When using a passive cable, the nominal > value should be used as the maximum one, and there is no minimum one > so we should use 0. > > Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Applied, thank you.
| |