2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/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 [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
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