From: Ke Wei <kewei@marvell.com>
To: linux-scsi@vger.kernel.org
Cc: jeff@garzik.org, james.bottomley@hansenpartnership.com,
qzhao@marvell.com, qswang@marvell.com, jfeng@marvell.com,
kewei@marvell.com, jasonchu@marvell.com
Subject: [PATCH 2/5] mvsas : redesign the mvsas driver architecture.
Date: Tue, 24 Feb 2009 17:42:33 +0800 [thread overview]
Message-ID: <49A3C109.4080700@marvell.com> (raw)
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
reply other threads:[~2009-02-24 9:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49A3C109.4080700@marvell.com \
--to=kewei@marvell.com \
--cc=james.bottomley@hansenpartnership.com \
--cc=jasonchu@marvell.com \
--cc=jeff@garzik.org \
--cc=jfeng@marvell.com \
--cc=linux-scsi@vger.kernel.org \
--cc=qswang@marvell.com \
--cc=qzhao@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.