aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-19 15:52:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-19 15:52:10 +0000
commitcec6b292499292d5aae0fe59652466827a4c6f76 (patch)
treece9b51504d5caa96c735dd2518801d673f254e26 /package/kernel/modules
parent2174d8e02f8551d0c2a7f07411ea4dd0f4df541f (diff)
downloadupstream-cec6b292499292d5aae0fe59652466827a4c6f76.tar.gz
upstream-cec6b292499292d5aae0fe59652466827a4c6f76.tar.bz2
upstream-cec6b292499292d5aae0fe59652466827a4c6f76.zip
[package] kernel/modules: package module for OpenFirmware I2C accessors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16921 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/i2c.mk20
1 files changed, 17 insertions, 3 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index 67713f300d..ab77d53189 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -126,10 +126,26 @@ endef
$(eval $(call KernelPackage,i2c-scx200-acb))
+define KernelPackage/of-i2c
+ SUBMENU:=$(I2C_MENU)
+ TITLE:=OpenFirmware I2C accessors
+ DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx kmod-i2c-core
+ KCONFIG:=CONFIG_OF_I2C
+ FILES:=$(LINUX_DIR)/drivers/of/of_i2c.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,58,of_i2c)
+endef
+
+define KernelPackage/of-i2c/description
+ Kernel module for OpenFirmware I2C accessors.
+endef
+
+$(eval $(call KernelPackage,of-i2c))
+
+
define KernelPackage/i2c-ibm-iic
SUBMENU:=$(I2C_MENU)
TITLE:=IBM PPC 4xx on-chip I2C interface support
- DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx +kmod-i2c-core
+ DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx +kmod-i2c-core +kmod-of-i2c
KCONFIG:=CONFIG_I2C_IBM_IIC
FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-ibm_iic.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,59,i2c-ibm_iic)
@@ -140,5 +156,3 @@ define KernelPackage/i2c-ibm-iic/description
endef
$(eval $(call KernelPackage,i2c-ibm-iic))
-
-