Skip to contentSkip to conversation

mpt2sas: use mpi headers from mpt3sas

PATCH In review Christoph Hellwig 2 participants 2 messages Jan 13, 2015 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpt2sas: use mpi headers from mpt3sas

Use a single set of the hardware description headers instead of having them in the source tree twice.

---
 drivers/scsi/mpt2sas/Makefile        |    4 +
 drivers/scsi/mpt2sas/mpi/mpi2.h      | 1170 -------------
 drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 3068 ----------------------------------
 drivers/scsi/mpt2sas/mpi/mpi2_init.h |  461 -----
 drivers/scsi/mpt2sas/mpi/mpi2_ioc.h  | 1708 -------------------
 drivers/scsi/mpt2sas/mpi/mpi2_raid.h |  366 ----
 drivers/scsi/mpt2sas/mpi/mpi2_sas.h  |  288 ----
 drivers/scsi/mpt2sas/mpi/mpi2_tool.h |  481 ------
 drivers/scsi/mpt2sas/mpi/mpi2_type.h |   61 -
 drivers/scsi/mpt2sas/mpt2sas_base.h  |    4 +-
 10 files changed, 6 insertions(+), 7605 deletions(-)
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2.h
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2_init.h
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2_ioc.h
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2_raid.h
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2_sas.h
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2_tool.h
 delete mode 100644 drivers/scsi/mpt2sas/mpi/mpi2_type.h
drivers/scsi/mpt2sas/Makefile +4 -0
index 728f047..2ac2fc3 100644
@@ -1,4 +1,8 @@
 # mpt2sas makefile
+
+# share the official mpi headers from the mpt3sas driver
+ccflags-y += -I$(src)/../mpt3sas
+
 obj-$(CONFIG_SCSI_MPT2SAS) += mpt2sas.o
 mpt2sas-y +=  mpt2sas_base.o        \
 		mpt2sas_config.o    \
drivers/scsi/mpt2sas/mpi/mpi2.h deleted +0 -1170

1,170 lines not on this page · raw message

drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h deleted +0 -3068

1,822 lines not on this page · raw message

drivers/scsi/mpt2sas/mpi/mpi2_init.h deleted +0 -461

461 lines not on this page · raw message

drivers/scsi/mpt2sas/mpi/mpi2_ioc.h deleted +0 -1708

1,708 lines not on this page · raw message

drivers/scsi/mpt2sas/mpi/mpi2_raid.h deleted +0 -366

366 lines not on this page · raw message

drivers/scsi/mpt2sas/mpi/mpi2_sas.h deleted +0 -288

288 lines not on this page · raw message

drivers/scsi/mpt2sas/mpi/mpi2_tool.h deleted +0 -481

481 lines not on this page · raw message

drivers/scsi/mpt2sas/mpi/mpi2_type.h deleted +0 -61

61 lines not on this page · raw message

drivers/scsi/mpt2sas/mpt2sas_base.h +2 -2
index caff8d1..c7fdf9d 100644

Lines of this file are not shown. View the raw message.

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

Signature · 1 line
1.9.1

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

Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Christoph Hellwig

Use a single set of the hardware description headers instead of having them in the source tree twice.

A round of applause.

Cheers,

Hannes

Signature · 9 lines
Dr. Hannes Reinecke		               zSeries & Storage
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html