summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-24 09:24:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-10-24 09:24:45 +0000
commit16e2c7ab80e7e4ff29ac88df9e7edaa70f7dc991 (patch)
tree89fcda433fa456d643a55a22d91fc80461a3e362 /package
parent8e776bf5aeb10583c85adace687a2beb9fa01add (diff)
downloadmtk-20170518-16e2c7ab80e7e4ff29ac88df9e7edaa70f7dc991.zip
mtk-20170518-16e2c7ab80e7e4ff29ac88df9e7edaa70f7dc991.tar.gz
mtk-20170518-16e2c7ab80e7e4ff29ac88df9e7edaa70f7dc991.tar.bz2
linux: add kmod-i2c-piix4
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43040
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/i2c.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk
index c0f9f81..51c6f59 100644
--- a/package/kernel/linux/modules/i2c.mk
+++ b/package/kernel/linux/modules/i2c.mk
@@ -170,6 +170,28 @@ endef
$(eval $(call KernelPackage,i2c-tiny-usb))
+
+I2C_PIIX4_MODULES:= \
+ CONFIG_I2C_PIIX4:drivers/i2c/busses/i2c-piix4
+
+define KernelPackage/i2c-piix4
+ $(call i2c_defaults,$(I2C_PIIX4_MODULES),59)
+ TITLE:=Intel PIIX4 and compatible I2C interfaces
+ DEPENDS:=@PCI_SUPPORT @(x86||x86_64) kmod-i2c-core
+endef
+
+define KernelPackage/i2c-piix4/description
+ Support for the Intel PIIX4 family of mainboard I2C interfaces,
+ specifically Intel PIIX4, Intel 440MX, ATI IXP200, ATI IXP300,
+ ATI IXP400, ATI SB600, ATI SB700/SP5100, ATI SB800, AMD Hudson-2,
+ AMD ML, AMD CZ, Serverworks OSB4, Serverworks CSB5,
+ Serverworks CSB6, Serverworks HT-1000, Serverworks HT-1100 and
+ SMSC Victory66.
+endef
+
+$(eval $(call KernelPackage,i2c-piix4))
+
+
I2C_MUX_MODULES:= \
CONFIG_I2C_MUX:drivers/i2c/i2c-mux