linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 3/3] drivers/block/mtip32xx: Adding Makefile and Kconfig
@ 2011-08-11 18:53 Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR]
  2011-08-11 22:47 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR] @ 2011-08-11 18:53 UTC (permalink / raw)
  To: Alan Cox, Jeff Moyer
  Cc: linux-ide, linux-kernel, Jeff Garzik, Christoph Hellwig,
	Jens Axboe

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@micron.com>
Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 3/3] drivers/block/mtip32xx: Adding Makefile and Kconfig
  2011-08-11 18:53 [PATCH v3 3/3] drivers/block/mtip32xx: Adding Makefile and Kconfig Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR]
@ 2011-08-11 22:47 ` Christoph Hellwig
  2011-08-16 16:54   ` Asai Thambi S P
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2011-08-11 22:47 UTC (permalink / raw)
  To: Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR]
  Cc: Alan Cox, Jeff Moyer, linux-ide, linux-kernel, Jeff Garzik,
	Christoph Hellwig, Jens Axboe

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 3/3] drivers/block/mtip32xx: Adding Makefile and Kconfig
  2011-08-11 22:47 ` Christoph Hellwig
@ 2011-08-16 16:54   ` Asai Thambi S P
  0 siblings, 0 replies; 3+ messages in thread
From: Asai Thambi S P @ 2011-08-16 16:54 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Alan Cox, Jeff Moyer, linux-ide, linux-kernel, Jeff Garzik,
	Jens Axboe

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-16 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 18:53 [PATCH v3 3/3] drivers/block/mtip32xx: Adding Makefile and Kconfig Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR]
2011-08-11 22:47 ` Christoph Hellwig
2011-08-16 16:54   ` Asai Thambi S P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).