* [PATCH 2/5] mvsas : redesign the mvsas driver architecture.
@ 2009-02-24 9:42 Ke Wei
0 siblings, 0 replies; only message in thread
From: Ke Wei @ 2009-02-24 9:42 UTC (permalink / raw)
To: linux-scsi; +Cc: jeff, james.bottomley, qzhao, qswang, jfeng, kewei, jasonchu
Added new Kconfig entry for the mvsas driver.
Signed-off-by: Ke Wei <kewei@marvell.com>
---
drivers/scsi/mvsas/Kconfig | 42 ++++++++++++++++++++++++++++++++++++++++++
drivers/scsi/mvsas/Makefile | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/mvsas/Kconfig b/drivers/scsi/mvsas/Kconfig
new file mode 100644
index 0000000..1f56303
--- /dev/null
+++ b/drivers/scsi/mvsas/Kconfig
@@ -0,0 +1,42 @@
+#
+# Kernel configuration file for MV64xx and MV94xx SAS/SATA driver.
+#
+# Copyright (c) 2008-2009 Marvell. All rights reserved.
+#
+# This file is licensed under GPLv2.
+#
+# This file is part of the mvsas driver.
+#
+# The mvsas driver is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; version 2 of the
+# License.
+#
+# The mvsas driver is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mvsas Driver; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+#
+
+config SCSI_MVSAS
+ tristate "Marvell 88SE6440/88SE9480 SAS/SATA support"
+ depends on (PCI || ARCH_LOKI) && SCSI
+ select SCSI_SAS_LIBSAS
+ help
+ This driver supports Marvell's 64 bit PCIE-X SAS/SATA 3Gb/s
+ MV64xx chip and 6Gb/s MV94xx chip based host adapters.
+ To compiler this driver as a module, choose M here: the module
+ will be called mvsas.
+
+config MVSAS_DEBUG
+ bool "Compile in debug mode"
+ default y
+ depends on SCSI_MVSAS
+ help
+ Compiles the mvsas driver in debug mode. In debug mode,
+ the driver prints some messages to the console.
diff --git a/dev/null b/drivers/scsi/mvsas/Makefile
new file mode 100644
index 0000000..02caf51
--- /dev/null
+++ b/drivers/scsi/mvsas/Makefile
@@ -0,0 +1,37 @@
+#
+# Makefile for Marvell MV64xx and MV94xx SAS/SATA.
+#
+# Kernel configuration file for MV64xx and MV94xx SAS/SATA driver.
+#
+# Copyright (c) 2008-2009 Marvell. All rights reserved.
+#
+# This file is licensed under GPLv2.
+#
+# This file is part of the mvsas driver.
+#
+# The mvsas driver is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; version 2 of the
+# License.
+#
+# The mvsas driver is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mvsas Driver; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+#
+
+ifeq ($(CONFIG_MVSAS_DEBUG),y)
+ EXTRA_CFLAGS += -DMV_DEBUG
+endif
+
+obj-$(CONFIG_SCSI_MVSAS) += mvsas.o
+mvsas-y := mv_init.o \
+ mv_sas.o \
+ mv_64xx.o \
+ mv_91xx.o \
+ mv_spi.o
--
1.5.4.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-24 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-24 9:42 [PATCH 2/5] mvsas : redesign the mvsas driver architecture Ke Wei
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.