summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-30 22:19:26 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-30 22:19:26 +0000
commit4e6fd1b0dc6dd070ef616be92a398cb25199831b (patch)
tree9b995231a536f8464d24b9cb234ef6480c7ceb1a
parent40aa2d8b06a03e4779cf728c4575c301f389eb72 (diff)
build eeprom_93cx6 as a module, add a KernelPackage for it and for crc-itu-t
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8559 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/other.mk25
-rw-r--r--target/linux/generic-2.6/config-2.6.222
2 files changed, 26 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 689558740..0e04ae97a 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -8,6 +8,18 @@
EMENU:=Other modules
+define KernelPackage/crc-itu-t
+ SUBMENU:=$(EMENU)
+ TITLE:=CRC ITU-T V.41 support
+ DESCRIPTION:=Kernel module for CRC ITU-T V.41 support
+ KCONFIG:=CONFIG_CRC_ITU_T
+ FILES:=$(LINUX_DIR)/lib/crc-itu-t.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
+endef
+
+$(eval $(call KernelPackage,crc-itu-t))
+
+
define KernelPackage/crypto
SUBMENU:=$(EMENU)
TITLE:=CryptoAPI modules
@@ -43,6 +55,19 @@ endef
$(eval $(call KernelPackage,crypto))
+define KernelPackage/eeprom-93cx6
+ SUBMENU:=$(EMENU)
+ TITLE:=EEPROM 93CX6 support
+ DESCRIPTION:=Kernel module for EEPROM 93CX6 support
+ DEPENDS:=@LINUX_2_6
+ KCONFIG:=CONFIG_EEPROM_93CX6
+ FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
+endef
+
+$(eval $(call KernelPackage,eeprom-93cx6))
+
+
define KernelPackage/lp
SUBMENU:=$(EMENU)
TITLE:=Parallel port and line printer support
diff --git a/target/linux/generic-2.6/config-2.6.22 b/target/linux/generic-2.6/config-2.6.22
index a4da4ee5b..22c4f1264 100644
--- a/target/linux/generic-2.6/config-2.6.22
+++ b/target/linux/generic-2.6/config-2.6.22
@@ -290,7 +290,7 @@ CONFIG_E100=m
# CONFIG_E1000 is not set
# CONFIG_ECONET is not set
# CONFIG_EEPRO100 is not set
-CONFIG_EEPROM_93CX6=y
+CONFIG_EEPROM_93CX6=m
# CONFIG_EFI_PARTITION is not set
# CONFIG_EFS_FS is not set
# CONFIG_ELF_CORE is not set