From 8f4681ce3cf464ccef1d8d3b05c77a9ce4492206 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 21 Jul 2009 11:37:12 +0000 Subject: [PATCH] [package] add libsas and mvsas required for VIA NAS7800 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16941 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/block.mk | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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)) -- 2.11.0