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
commit4251673cddbeb58682b87f57552c56ab6e28997b (patch)
treed4378d35108b0f882109eee35d8ef8ffe1241f93 /package/kernel/modules/block.mk
parent2a8052dbbd73a7b69c746f9b8271d63d6eaee5b9 (diff)
downloadupstream-4251673cddbeb58682b87f57552c56ab6e28997b.tar.gz
upstream-4251673cddbeb58682b87f57552c56ab6e28997b.tar.bz2
upstream-4251673cddbeb58682b87f57552c56ab6e28997b.zip
split out scsi module support and add ata piix support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6535 3c298f89-4303-0410-b956-a3cf2f4a3e73
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))