28 Nov, 2019

1 commit

  • This patch corrects the SPDX License Identifier style in
    header files related to PHY Layer for Ethernet drivers.
    For C header files Documentation/process/license-rules.rst
    mandates C-like comments (opposed to C source files where
    C++ style should be used). This patch also gives an explicit
    block comment to the SPDX License Identifier.

    Changes made by using a script provided by Joe Perches here:
    https://lkml.org/lkml/2019/2/7/46.

    Suggested-by: Joe Perches
    Signed-off-by: Nishad Kamdar
    Signed-off-by: David S. Miller

    Nishad Kamdar
     

26 Feb, 2019

1 commit

  • This adds HWMON support for the temperature sensor and the related
    alarms on the 107/108/109 chips. This patch is based on work from
    Nikita and Andrew. I added:
    - support for changing alarm thresholds via sysfs
    - move HWMON code to a separate source file to improve maintainability
    - smaller changes like using IS_REACHABLE instead of ifdef
    (avoids problems if PHY driver is built in and HWMON is a module)

    v2:
    - remove struct aqr_priv
    - rename header file to aquantia.h
    v3:
    - add conditional compiling of aquantia_hwmon.c
    - improve converting sensor register values to/from long
    - add helper aqr_hwmon_test_bit

    Signed-off-by: Nikita Yushchenko
    Signed-off-by: Andrew Lunn
    Signed-off-by: Heiner Kallweit
    Reviewed-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Heiner Kallweit