[PATCH v3 3/3] drivers/block/mtip32xx: Adding Makefile and Kconfig

From: Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR]
Date: Thu Aug 11 2011 - 14:54:03 EST


This is the third/final part of the new block driver,mtip32xx, for
Micron
PCIe SSD, which contains the new Makefile and Kconfig. Also contains the
changes to Kconfig and Makefile in drivers/block to add this new driver.

Signed-off-by: Asai Thambi S P <asamymuthupa@xxxxxxxxxx>
Signed-off-by: Sam Bradshaw <sbradshaw@xxxxxxxxxx>
---
drivers/block/Kconfig | 2 ++
drivers/block/Makefile | 1 +
drivers/block/mtip32xx/Kconfig | 8 ++++++++
drivers/block/mtip32xx/Makefile | 7 +++++++
4 files changed, 18 insertions(+), 0 deletions(-)
create mode 100644 drivers/block/mtip32xx/Kconfig
create mode 100644 drivers/block/mtip32xx/Makefile

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index 717d6e4..b729ae3 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -116,6 +116,8 @@ config PARIDE

source "drivers/block/paride/Kconfig"

+source "drivers/block/mtip32xx/Kconfig"
+
config BLK_CPQ_DA
tristate "Compaq SMART2 support"
depends on PCI && VIRT_TO_BUS
diff --git a/drivers/block/Makefile b/drivers/block/Makefile
index 76646e9..ad7b74a 100644
--- a/drivers/block/Makefile
+++ b/drivers/block/Makefile
@@ -39,5 +39,6 @@ obj-$(CONFIG_XEN_BLKDEV_FRONTEND) +=
xen-blkfront.o
obj-$(CONFIG_XEN_BLKDEV_BACKEND) += xen-blkback/
obj-$(CONFIG_BLK_DEV_DRBD) += drbd/
obj-$(CONFIG_BLK_DEV_RBD) += rbd.o
+obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx/

swim_mod-y := swim.o swim_asm.o
diff --git a/drivers/block/mtip32xx/Kconfig
b/drivers/block/mtip32xx/Kconfig
new file mode 100644
index 0000000..1a20e88
--- /dev/null
+++ b/drivers/block/mtip32xx/Kconfig
@@ -0,0 +1,8 @@
+#
+# mtip32xx device driver configuration
+#
+
+config BLK_DEV_PCIESSD_MTIP32XX
+ tristate "Block Device Driver for Micron PCIe SSDs"
+ help
+ This enables the block driver for Micron PCIe SSDs.
diff --git a/drivers/block/mtip32xx/Makefile
b/drivers/block/mtip32xx/Makefile
new file mode 100644
index 0000000..0a0fba2
--- /dev/null
+++ b/drivers/block/mtip32xx/Makefile
@@ -0,0 +1,7 @@
+#
+# Makefile for Block device driver for Micron PCIe SSD
+#
+
+obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx.o
+
+mtip32xx-y := mtip_pci.o mtip_block.o mtip_hw.o
--
1.7.1


--
Regards,
Asai Thambi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/