diff options
author | John Crispin <blogic@openwrt.org> | 2011-07-03 17:23:36 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2011-07-03 17:23:36 +0000 |
commit | 47c41e4c44c95bb0fe77f195d59f22bb0e99b2ce (patch) | |
tree | 3ea23dfce2c7c133dd6ada8554248f93f319228b /package/kernel/modules/other.mk | |
parent | 6ac45aa7dbea69d06e3ca962ba1946e863500141 (diff) | |
download | master-187ad058-47c41e4c44c95bb0fe77f195d59f22bb0e99b2ce.tar.gz master-187ad058-47c41e4c44c95bb0fe77f195d59f22bb0e99b2ce.tar.bz2 master-187ad058-47c41e4c44c95bb0fe77f195d59f22bb0e99b2ce.zip |
add kmod definitions for at24(i2c) and at25(spi) eeproms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27401 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r-- | package/kernel/modules/other.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 2de923f952..b6339a6844 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -108,6 +108,37 @@ endef $(eval $(call KernelPackage,eeprom-93cx6)) +define KernelPackage/eeprom-at24 + SUBMENU:=$(OTHER_MENU) + TITLE:=EEPROM AT24 support + KCONFIG:=CONFIG_EEPROM_AT24 + DEPENDS:=+kmod-i2c-core + FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko + AUTOLOAD:=$(call AutoLoad,60,at24) +endef + +define KernelPackage/eeprom-at24/description + Kernel module for most I2C EEPROMs +endef + +$(eval $(call KernelPackage,eeprom-at24)) + + +define KernelPackage/eeprom-at25 + SUBMENU:=$(OTHER_MENU) + TITLE:=EEPROM AT25 support + KCONFIG:=CONFIG_EEPROM_AT25 + FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko + AUTOLOAD:=$(call AutoLoad,61,at25) +endef + +define KernelPackage/eeprom-at25/description + Kernel module for most SPI EEPROMs +endef + +$(eval $(call KernelPackage,eeprom-at25)) + + define KernelPackage/gpio-cs5535 SUBMENU:=$(OTHER_MENU) TITLE:=AMD CS5535/CS5536 GPIO driver |