linux/drivers/scsi/mpt2sas
Kashyap, Desai 32e0eb569d [SCSI] mpt2sas: Added command line option diag_buffer_enable.
Added command line option diag_buffer_enable. When the command line option is
set, the driver will automatically post diag buffers at driver load time.
The command line option diag_buffer_enable is bitwise, so it's possible to
enable both and/or snapshot + trace buffers.  For trace, the driver will
allocate 1MB buffer, whereas for snapshot its 2MB. The purpose for this is
so the enduser doesn't have to manually use an application to setup diag
buffers for debugging firmware related issues.

Here is some examples
trace:
# insmod mpt2sas.ko diag_buffer_enable=1

snapshot:
# insmod mpt2sas.ko diag_buffer_enable=2

both trace and snapshot:
# insmod mpt2sas.ko diag_buffer_enable=3

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: Eric Moore <Eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-10-29 13:03:11 -04:00
..
mpi [SCSI] mpt2sas: Adding MPI Headers - revision L 2009-10-29 13:03:10 -04:00
Kconfig [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: Added command line option diag_buffer_enable. 2009-10-29 13:03:11 -04:00
mpt2sas_base.h [SCSI] mpt2sas: Added command line option diag_buffer_enable. 2009-10-29 13:03:11 -04:00
mpt2sas_config.c [SCSI] mpt2sas: Target Reset will be issued from Interrupt context. 2009-10-02 09:48:38 -05:00
mpt2sas_ctl.c [SCSI] mpt2sas: Added command line option diag_buffer_enable. 2009-10-29 13:03:11 -04:00
mpt2sas_ctl.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: Support for stopping driver when Firmware encounters 2009-10-29 13:03:10 -04:00
mpt2sas_transport.c [SCSI] mpt2sas: Driver will use sas address instead of handle as a lookup 2009-10-29 13:03:08 -04:00