#
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
$(eval $(call KernelPackage,ata-artop))
+define KernelPackage/ata-marvell-sata
+ TITLE:=Marvell Serial ATA support
+ KCONFIG:=CONFIG_SATA_MV
+ FILES:=$(LINUX_DIR)/drivers/ata/sata_mv.ko
+ AUTOLOAD:=$(call AutoLoad,41,sata_mv,1)
+ $(call AddDepends/ata)
+endef
+
+define KernelPackage/ata-marvell-sata/description
+ SATA support for marvell chipsets
+endef
+
+$(eval $(call KernelPackage,ata-marvell-sata))
+
+
define KernelPackage/ata-nvidia-sata
TITLE:=Nvidia Serial ATA support
KCONFIG:=CONFIG_SATA_NV
$(eval $(call KernelPackage,ata-sil24))
+define KernelPackage/ata-sis
+ TITLE:=SIS SATA support
+ KCONFIG:=CONFIG_SATA_SIS
+ FILES:=$(LINUX_DIR)/drivers/ata/sata_sis.ko
+ AUTOLOAD:=$(call AutoLoad,41,sata_sis,1)
+endef
+
+define KernelPackage/ata-sis/description
+ Support for SIS Serial ATA controllers.
+endef
+
+$(eval $(call KernelPackage,ata-sis))
+
+
define KernelPackage/ata-via-sata
TITLE:=VIA SATA support
KCONFIG:=CONFIG_SATA_VIA
define KernelPackage/md-linear
$(call KernelPackage/md/Depends,)
TITLE:=RAID Linear Module
- KCONFIG:=CONFIG_MD_LINEAR=m
+ KCONFIG:=CONFIG_MD_LINEAR
FILES:=$(LINUX_DIR)/drivers/md/linear.ko
AUTOLOAD:=$(call AutoLoad,28,linear)
endef
define KernelPackage/md-raid0
$(call KernelPackage/md/Depends,)
TITLE:=RAID0 Module
- KCONFIG:=CONFIG_MD_RAID0=m
+ KCONFIG:=CONFIG_MD_RAID0
FILES:=$(LINUX_DIR)/drivers/md/raid0.ko
AUTOLOAD:=$(call AutoLoad,28,raid0)
endef
define KernelPackage/md-raid1
$(call KernelPackage/md/Depends,)
TITLE:=RAID1 Module
- KCONFIG:=CONFIG_MD_RAID1=m
+ KCONFIG:=CONFIG_MD_RAID1
FILES:=$(LINUX_DIR)/drivers/md/raid1.ko
AUTOLOAD:=$(call AutoLoad,28,raid1)
endef
define KernelPackage/md-raid10
$(call KernelPackage/md/Depends,)
TITLE:=RAID10 Module
- KCONFIG:=CONFIG_MD_RAID10=m
+ KCONFIG:=CONFIG_MD_RAID10
FILES:=$(LINUX_DIR)/drivers/md/raid10.ko
AUTOLOAD:=$(call AutoLoad,28,raid10)
endef
$(call KernelPackage/md/Depends,)
TITLE:=RAID Level 456 Driver
KCONFIG:= \
- CONFIG_XOR_BLOCKS=m \
- CONFIG_ASYNC_CORE=m \
- CONFIG_ASYNC_MEMCPY=m \
- CONFIG_ASYNC_XOR=m \
- CONFIG_ASYNC_PQ=m \
- CONFIG_ASYNC_RAID6_RECOV=m \
+ CONFIG_XOR_BLOCKS \
+ CONFIG_ASYNC_CORE \
+ CONFIG_ASYNC_MEMCPY \
+ CONFIG_ASYNC_XOR \
+ CONFIG_ASYNC_PQ \
+ CONFIG_ASYNC_RAID6_RECOV \
CONFIG_ASYNC_RAID6_TEST=n \
- CONFIG_MD_RAID6_PQ=m \
- CONFIG_MD_RAID456=m \
+ CONFIG_MD_RAID6_PQ \
+ CONFIG_MD_RAID456 \
CONFIG_MULTICORE_RAID456=n
FILES:= \
$(LINUX_DIR)/crypto/xor.ko \
define KernelPackage/md-multipath
$(call KernelPackage/md/Depends,)
TITLE:=MD Multipath Module
- KCONFIG:=CONFIG_MD_MULTIPATH=m
+ KCONFIG:=CONFIG_MD_MULTIPATH
FILES:=$(LINUX_DIR)/drivers/md/multipath.ko
AUTOLOAD:=$(call AutoLoad,29,multipath)
endef