                     README FOR HP CSMI TEST TOOL FOR LINUX
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Usage Syntax:
	./csmitest -d <devicenode> [-a|-m]
	
	devicenode - device node for the controller.

To print the usage:
	./csmitest -u


Option '-a'
~~~~~~~~~~~
The following ioctl's will be issued continuously and the results
will be displayed in stdout,
	1. CC_CSMI_SAS_GET_DRIVER_INFO
	2. CC_CSMI_SAS_GET_CNTLR_CONFIG
	3. CC_CSMI_SAS_GET_CNTLR_STATUS
	4. CC_CSMI_SAS_GET_RAID_INFO
	5. CC_CSMI_SAS_GET_RAID_CONFIG
	6. CC_CSMI_SAS_GET_PHY_INFO
	7. CC_CSMI_SAS_GET_LINK_ERRORS
	8. CC_CSMI_SAS_GET_SATA_SIGNATURE

Output can be redirected to a file.

Option '-m'
~~~~~~~~~~
This will display a menu containing the IOCTL's that can be issued.
Choose the IOCTL to test, provide any inputs if prompted, and the 
results will be displayed in stdout.

IOCTL's not implemented
~~~~~~~~~~~~~~~~~~~~~~~
The following ioctl's have not yet been implemented in the test tool,
	1. CC_CSMI_SAS_FIRMWARE_DOWNLOAD
	2. CC_CSMI_SAS_SMP_PASSTHRU
	3. CC_CSMI_SAS_SSP_PASSTHRU
	4. CC_CSMI_SAS_STP_PASSTHRU
	5. CC_CSMI_SAS_GET_SCSI_ADDRESS
	6. CC_CSMI_SAS_TASK_MANAGEMENT

Recompiling from the source
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you have the source files for the test tool, use the following command 
to compile,
	#gcc -D_linux csmitest.c -o csmitest

Disclaimer: This program is completely untested. Any behaviour needs to be
compared against the specification for CSMI.
