[SCSI] mpt2sas: Added expander phy counter support
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 17 Jun 2010 08:02:54 +0000 (13:32 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:02:08 +0000 (12:02 -0500)
commitd5f491e65851627358b2c1a4e322681b17539550
tree333970831378a50e9a2a33a1ef4dae5c847726b6
parentdd5fd3323abcb799d4d81f3c4b3e2a5fcbfce7bf
[SCSI] mpt2sas: Added expander phy counter support

Added support to retrieve the invalid_dword_count,
running_disparity_error_count, loss_of_dword_sync_count, and
phy_reset_problem_count for expanders.  This will be exported to
attributes within the sas transport layer.  A new wrapper function was
added for sending SMP passthru to retrieve the expander phy error log.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_transport.c