projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7cc5b6f
)
kernel/hwmon: package pwm-fan kernel module
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Jan 2015 13:02:49 +0000
(13:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Jan 2015 13:02:49 +0000
(13:02 +0000)
pwm-fan was introduced in kernel 3.18
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43843
package/kernel/linux/modules/hwmon.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/hwmon.mk
b/package/kernel/linux/modules/hwmon.mk
index 5b7936a9f07f6beee441c8a2efd70bcfaf7d3e5a..74af38b49aa91d29485e19c0524836a8f51ae09a 100644
(file)
--- a/
package/kernel/linux/modules/hwmon.mk
+++ b/
package/kernel/linux/modules/hwmon.mk
@@
-290,6
+290,22
@@
endef
$(eval $(call KernelPackage,hwmon-gpiofan))
$(eval $(call KernelPackage,hwmon-gpiofan))
+define KernelPackage/hwmon-pwmfan
+ TITLE:=Generic PWM FAN support
+ KCONFIG:=CONFIG_SENSORS_PWM_FAN
+ FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
+ AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
+ $(call AddDepends/hwmon,+kmod-pwm)
+ DEPENDS+=@!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10 @!LINUX_3_14
+endef
+
+define KernelPackage/hwmon-pwmfan/description
+ Kernel module for PWM controlled FANs
+endef
+
+$(eval $(call KernelPackage,hwmon-pwmfan))
+
+
define KernelPackage/hwmon-k10temp
TITLE:=AMD Family 10h+ temperature sensor
KCONFIG:=CONFIG_SENSORS_K10TEMP
define KernelPackage/hwmon-k10temp
TITLE:=AMD Family 10h+ temperature sensor
KCONFIG:=CONFIG_SENSORS_K10TEMP