]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: sfp: pre-parse the module support
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 16 Sep 2025 21:46:41 +0000 (22:46 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 22 Sep 2025 23:05:14 +0000 (16:05 -0700)
commitddae6127afbba46e32af3b31eb7bba939e1fad96
treec45401e1c669adf6e2d7bf524827b870c82cef1a
parenta571f08d3db215dd6ec294d8faac8cc4184bc4e4
net: sfp: pre-parse the module support

Pre-parse the module support on insert rather than when the upstream
requests the data. This will allow more flexible and extensible
parsing.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1uydVZ-000000061WE-2pXD@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp-bus.c
include/linux/sfp.h