]> 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)
commit47d9d235a9e2c714b46b72672e38d995ba24dcf5
treeea45c5063be4641aea19c5ec2613503d494bae79
parentfe704d873e2e068d3452f87d158856b3f1152295
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