OSDN Git Service

sfp: don't guess support from connector type
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Dec 2017 12:15:17 +0000 (12:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jan 2018 02:45:32 +0000 (21:45 -0500)
commit3fa7d19abecf5e38f980f37f606bb1bc81360cd6
treee671cefea366849bd9fe8909b25b41f5a9418be4
parenta2f247ef4d25fce3eaf260294bc1e16970c2a2d2
sfp: don't guess support from connector type

Don't try to guess the support mask from the connector type - this is
mostly irrelevant to the speeds that the transceiver supports.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp-bus.c