Skip to contentSkip to conversation

scsi: add hpsa driver for HP Smart Array controllers.

PATCH New [email protected] 1 participant 1 message Dec 8, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 17/17 scsi: add hpsa driver for HP Smart Array controllers.

From: "Stephen M. Cameron" <[email protected]>

Add hpsa driver for HP Smart Array controllers.

This driver supports a subset of HP Smart Array Controllers. It is a SCSI alternative to the cciss driver.

[[email protected]: avoid helpful cleanup patches]
[[email protected]: make device attrs static]
[[email protected]: msleep() does set_current_state() itself]
Cc Jens Axboe <[email protected]>
Cc James Bottomley <[email protected]>

---

 drivers/scsi/Kconfig    |   10 
 drivers/scsi/Makefile   |    1 
 drivers/scsi/hpsa.c     | 3531 ++++++++++++++++++++++++++++++++++++++
 drivers/scsi/hpsa.h     |  273 ++
 drivers/scsi/hpsa_cmd.h |  326 +++
 5 files changed, 4141 insertions(+)
drivers/scsi/Kconfig renamed from drivers/scsi/Kconfig~scsi-add-hpsa-driver-for-hp-smart-array-controllers +10 -0
diff -puN drivers/scsi/Kconfig~scsi-add-hpsa-driver-for-hp-smart-array-controllers drivers/scsi/Kconfig
@@ -388,6 +388,16 @@ config BLK_DEV_3W_XXXX_RAID
 	  Please read the comments at the top of
 	  <file:drivers/scsi/3w-xxxx.c>.
 
+config SCSI_HPSA
+	tristate "HP Smart Array SCSI driver"
+	depends on PCI && SCSI
+	help
+	  This driver supports HP Smart Array Controllers (circa 2009).
+	  It is a SCSI alternative to the cciss driver, which is a block
+	  driver.  Anyone wishing to use HP Smart Array controllers who
+	  would prefer the devices be presented to linux as SCSI devices,
+	  rather than as generic block devices should say Y here.
+
 config SCSI_3W_9XXX
 	tristate "3ware 9xxx SATA-RAID support"
 	depends on PCI && SCSI
drivers/scsi/Makefile renamed from drivers/scsi/Makefile~scsi-add-hpsa-driver-for-hp-smart-array-controllers +1 -0
diff -puN drivers/scsi/Makefile~scsi-add-hpsa-driver-for-hp-smart-array-controllers drivers/scsi/Makefile
@@ -91,6 +91,7 @@ obj-$(CONFIG_SCSI_BFA_FC)	+= bfa/
 obj-$(CONFIG_SCSI_PAS16)	+= pas16.o
 obj-$(CONFIG_SCSI_T128)		+= t128.o
 obj-$(CONFIG_SCSI_DMX3191D)	+= dmx3191d.o
+obj-$(CONFIG_SCSI_HPSA)		+= hpsa.o
 obj-$(CONFIG_SCSI_DTC3280)	+= dtc.o
 obj-$(CONFIG_SCSI_SYM53C8XX_2)	+= sym53c8xx_2/
 obj-$(CONFIG_SCSI_ZALON)	+= zalon7xx.o
drivers/scsi/hpsa.c new file +3531 -0

2,977 lines not on this page · raw message

drivers/scsi/hpsa.h new file +273 -0

273 lines not on this page · raw message

drivers/scsi/hpsa_cmd.h new file +326 -0

326 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

_

Part of the diff is not shown here. View the raw message.