From 4235cd0d951b588892f4520e88c7bd219668cee1 Mon Sep 17 00:00:00 2001 From: Cezary Jackiewicz Date: Wed, 4 Jan 2017 18:51:35 +0100 Subject: [PATCH] x86: add kernel module for AMD CS5535/CS5536 audio chipset Add support for the integrated AC97 sound device on motherboards with AMD CS5535/CS5536 chipsets. Tested on Wyse Winterm S30. Signed-off-by: Cezary Jackiewicz --- target/linux/x86/modules.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/x86/modules.mk diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk new file mode 100644 index 0000000000..656500b290 --- /dev/null +++ b/target/linux/x86/modules.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2017 Cezary Jackiewicz +# +# This is free software, licensed under the GNU General Public License v2. +# + +define KernelPackage/sound-cs5535audio + TITLE:=CS5535/CS5536 Audio Controller + DEPENDS:=@TARGET_x86_geode +kmod-ac97 + KCONFIG:=CONFIG_SND_CS5535AUDIO + FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko + AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio) + $(call AddDepends/sound) +endef + +define KernelPackage/sound-cs5535audio/description + Support for the integrated AC97 sound device on motherboards + with AMD CS5535/CS5536 chipsets. +endef + +$(eval $(call KernelPackage,sound-cs5535audio)) -- 2.25.1