From: David S. Miller Date: Wed, 18 Jul 2018 01:02:11 +0000 (+0900) Subject: Merge branch 'HWMON-support-for-SFP-modules' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fd3d96ae49c31088704501343463f6ee74d32314;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'HWMON-support-for-SFP-modules' Andrew Lunn says: ==================== HWMON support for SFP modules This patchset adds HWMON support to SFP modules. The two patches add some attributes for temperature and power sensors which are currently missing from the hwmon core. The third patch adds a helper for filtering out characters in hwmon names which are invalid. The last patch then extends the core SFP code to export the sensors found in SFP modules. This code has been tested with two SFP modules: module OEM SFP-7000-85 rev 11.0 sn M1512220075 dc 160221 module FINISAR CORP. FTLF8524E2GNL rev A sn PW40MNN dc 160725 The anonymous module uses external calibration, while the FINISAR uses internal calibration. Thus both code paths have been tested. Due to the cross subsystem nature of these patches, as discussed with the RFC, it is hoped Guenter Roeck will ACK the patches, and then Dave Miller will merge them all via net-next. ==================== Signed-off-by: David S. Miller --- fd3d96ae49c31088704501343463f6ee74d32314