summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-21 11:37:12 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-21 11:37:12 +0000
commit8f4681ce3cf464ccef1d8d3b05c77a9ce4492206 (patch)
tree03a3b5ca75017aac8fe155b07db2764c7e4fa195
parent9264ffb4341f723859bb3e09d165acdcaaf52d3d (diff)
[package] add libsas and mvsas required for VIA NAS7800
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16941 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/block.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 06dc0a3fc7..521236e478 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -389,3 +389,35 @@ define KernelPackage/axonram/description
endef
$(eval $(call KernelPackage,axonram))
+
+define KernelPackage/libsas
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=SAS Domain Transport Attributes
+ DEPENDS:=+kmod-scsi-core
+ KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \
+ CONFIG_SCSI_SAS_HOST_SMP=y \
+ CONFIG_SCSI_SAS_LIBSAS_DEBUG=y
+ FILES:=$(LINUX_DIR)/drivers/scsi/libsas/libsas.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,29,libsas)
+endef
+
+define KernelPackage/libsas/description
+ SAS Domain Transport Attributes support.
+endef
+
+$(eval $(call KernelPackage,libsas))
+
+define KernelPackage/mvsas
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=Marvell 88SE6440 SAS/SATA driver
+ DEPENDS:=@TARGET_x86 +kmod-libsas
+ KCONFIG:=CONFIG_SCSI_MVSAS
+ FILES:=$(LINUX_DIR)/drivers/scsi/mvsas.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,40,mvsas)
+endef
+
+define KernelPackage/mvsas/description
+ Kernel support for the Marvell SAS SCSI adapters
+endef
+
+$(eval $(call KernelPackage,mvsas))