]> git.baikalelectronics.ru Git - kernel.git/commit
net: sfp: move quirk handling into sfp.c
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 13 Sep 2022 19:06:32 +0000 (20:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 14:54:13 +0000 (07:54 -0700)
commita5885a11ec7cb3246f094a217e9429a6d88b2202
treeea45c5063be4641aea19c5ec2613503d494bae79
parent9571155cdce2917b73aa200a64eae01890b9a789
net: sfp: move quirk handling into sfp.c

We need to handle more quirks than just those which affect the link
modes of the module. Move the quirk lookup into sfp.c, and pass the
quirk to sfp-bus.c

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp-bus.c
drivers/net/phy/sfp.c
drivers/net/phy/sfp.h