[package] add libsas and mvsas required for VIA NAS7800
[openwrt.git] / package / kernel / modules / block.mk
index f0be71c..521236e 100644 (file)
@@ -220,7 +220,7 @@ $(eval $(call KernelPackage,ide-aec62xx))
 define KernelPackage/ide-magicbox
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=Magicbox 2.0 IDE CF driver
-  DEPENDS:=@TARGET_ppc40x @LINUX_2_6_30 +kmod-ide-core
+  DEPENDS:=@TARGET_ppc40x +kmod-ide-core
   KCONFIG:=CONFIG_BLK_DEV_IDE_MAGICBOX
   FILES:=$(LINUX_DIR)/drivers/ide/magicbox_ide.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,30,magicbox_ide)
@@ -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))
This page took 0.02798 seconds and 4 git commands to generate.