Backport commit fixing detection of SFP modules which has been broken since Linux 6.4 for some modules. Signed-off-by: Daniel Golle <daniel@makrotopia.org>