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

Subsystems: block layer, the rest

STALE5544d

3 messages, 2 authors, 2011-08-16 · open the first message on its own page

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

From: Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR] <hidden>
Date: 2011-08-11 18:53:57

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 <redacted>
Signed-off-by: Sam Bradshaw <redacted>
---
 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

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

From: Christoph Hellwig <hch@infradead.org>
Date: 2011-08-11 22:47:31

I think the driver at least needs to depend on PCI.

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

From: Asai Thambi S P <hidden>
Date: 2011-08-16 16:54:55

On 8/11/2011 4:47 PM, Christoph Hellwig wrote:
I think the driver at least needs to depend on PCI.
Actually we should depend on pciehp module. I ran into some issue (in
kernel 2.6.39) when introducing the dependency, and removed the
dependency temporarily. I will check again with the current kernel.

-- 
Regards,
Asai Thambi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help