x86: add kernel module for sp5100_tco watchdog
[openwrt/openwrt.git] / target / linux / x86 / modules.mk
1 #
2 # Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 #
6
7 define KernelPackage/sound-cs5535audio
8 TITLE:=CS5535/CS5536 Audio Controller
9 DEPENDS:=@TARGET_x86_geode +kmod-ac97
10 KCONFIG:=CONFIG_SND_CS5535AUDIO
11 FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
12 AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
13 $(call AddDepends/sound)
14 endef
15
16 define KernelPackage/sound-cs5535audio/description
17 Support for the integrated AC97 sound device on motherboards
18 with AMD CS5535/CS5536 chipsets.
19 endef
20
21 $(eval $(call KernelPackage,sound-cs5535audio))
22
23 define KernelPackage/sp5100_tco
24 SUBMENU:=$(OTHER_MENU)
25 TITLE:=SP5100 Watchdog Support
26 DEPENDS:=@TARGET_x86
27 KCONFIG:=CONFIG_SP5100_TCO
28 FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
29 AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
30 endef
31
32 define KernelPackage/sp5100_tco/description
33 Kernel module for the SP5100_TCO hardware watchdog.
34 endef
35
36 $(eval $(call KernelPackage,sp5100_tco))