[kernel] package the ITE it821x IDE controller driver
authorFlorian Fainelli <florian@openwrt.org>
Wed, 6 May 2009 23:49:17 +0000 (23:49 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 6 May 2009 23:49:17 +0000 (23:49 +0000)
SVN-Revision: 15645

package/kernel/modules/block.mk

index e735207d8146871ae8ffc928ea65908b0f76dc53..3ef15c9ab55a76ec81f07c6bf05a8d3f7104f0e3 100644 (file)
@@ -255,6 +255,22 @@ endef
 $(eval $(call KernelPackage,ide-pdc202xx))
 
 
+define KernelPackage/ide-it821x
+  SUBMENU:=$(BLOCK_MENU)
+  TITLE:=ITE IT821x IDE driver
+  DEPENDS:=+kmod-ide-core
+  KCONFIG:=CONFIG_BLK_DEV_IT821X
+  FILES=$(LINUX_DIR)/drivers/ide/it821x.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,30,ite821x)
+endef
+
+define KernelPackage/ide-it821x/description
+  Kernel module for the ITE IDE821x IDE controllers.
+endef
+
+$(eval $(call KernelPackage,ide-it821x))
+
+
 define KernelPackage/scsi-core
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=SCSI device support