Re: [PATCH 1/1] hwmon: Driver for temperature sensors on SATA drives

From: Randy Dunlap
Date: Mon Dec 09 2019 - 00:28:30 EST


Hi,

On 12/8/19 9:21 PM, Guenter Roeck wrote:
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index 13a6b4afb4b3..4c63eb7ba96a 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -1346,6 +1346,16 @@ config SENSORS_RASPBERRYPI_HWMON
> This driver can also be built as a module. If so, the module
> will be called raspberrypi-hwmon.
>
> +config SENSORS_SATATEMP
> + tristate "SATA hard disk drives with temperature sensors"
> + depends on SCSI && ATA
> + help
> + If you say yes you get support for the temperature sensor on
> + SATA hard disk drives.
> +
> + This driver can also be built as a module. If so, the module
> + will be called smarttemp.

Makefile seems to say satatemp.

> +
> config SENSORS_SHT15
> tristate "Sensiron humidity and temperature sensors. SHT15 and compat."
> depends on GPIOLIB || COMPILE_TEST
> diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
> index 40c036ea45e6..fe55b8f76af9 100644
> --- a/drivers/hwmon/Makefile
> +++ b/drivers/hwmon/Makefile
> @@ -148,6 +148,7 @@ obj-$(CONFIG_SENSORS_S3C) += s3c-hwmon.o
> obj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
> obj-$(CONFIG_SENSORS_SCH5627) += sch5627.o
> obj-$(CONFIG_SENSORS_SCH5636) += sch5636.o
> +obj-$(CONFIG_SENSORS_SATATEMP) += satatemp.o
> obj-$(CONFIG_SENSORS_SHT15) += sht15.o
> obj-$(CONFIG_SENSORS_SHT21) += sht21.o
> obj-$(CONFIG_SENSORS_SHT3x) += sht3x.o


--
~Randy