aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorTim Yardley <lst@openwrt.org>2007-03-07 15:38:45 +0000
committerTim Yardley <lst@openwrt.org>2007-03-07 15:38:45 +0000
commitfbbad27a4191281115a486029d54fca0ead77e72 (patch)
treee872800cd78442f18ebd4f688867316bee8261fd /package/kernel/modules/block.mk
parent2cbe1f1c0d5e7bf7d24086e7794d23cdeeb24f32 (diff)
downloadupstream-fbbad27a4191281115a486029d54fca0ead77e72.tar.gz
upstream-fbbad27a4191281115a486029d54fca0ead77e72.tar.bz2
upstream-fbbad27a4191281115a486029d54fca0ead77e72.zip
split out scsi module support and add ata piix support
SVN-Revision: 6535
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
new file mode 100644
index 0000000000..a6df0fc662
--- /dev/null
+++ b/package/kernel/modules/block.mk
@@ -0,0 +1,21 @@
+BLMENU:=Block Devices
+
+define KernelPackage/libata
+ TITLE:=libata
+ DESCRIPTION:=libata
+ KCONFIG:=$(CONFIG_ATA)
+ SUBMENU:=$(BLMENU)
+ FILES:=$(MODULES_DIR)/kernel/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,libata))
+
+define KernelPackage/ata-piix
+ TITLE:=ata-piix
+ DESCRIPTION:=Kernel module for Intel PIIX SATA controller
+ KCONFIG:=$(CONFIG_ATA_PIIX)
+ SUBMENU:=$(BLMENU)
+ AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod ata_piix)
+ FILES:=$(MODULES_DIR)/kernel/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX)
+ DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
+endef
+$(eval $(call KernelPackage,ata-piix))