From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 21 Jul 2009 11:37:12 +0000 (+0000)
Subject: add libsas and mvsas required for VIA NAS7800
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=998465b1d9bbce88bef00f659fb373c4870dc10a;p=openwrt%2Fstaging%2Fneocturne.git

add libsas and mvsas required for VIA NAS7800

SVN-Revision: 16941
---

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))