Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 11:59:02 +0530
From:      "Abhay Kumar Srivastava" <abhay_srivastava@infosys.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   help in cam_send_ccb
Message-ID:  <882B7E812BE14E4BA7E86387242C8DB902590698@kecmsg11.ad.infosys.com>

index | next in thread | raw e-mail


	Hi,

	I want to know the unit of  timeout that we fill in ccb
structure before we call cam_send_ccb.

	In the following code 
	cam_fill_csio(&testData->ccb.csio,
						/* retries */ 1,
						/* cbfcnp */ NULL,
						/* flags */ CAM_DIR_OUT,
						/* tag_action */
MSG_SIMPLE_Q_TAG,
						/* data_ptr */ (u_int8_t
*)&rData,
						/* dxfer_len */ sizeof(
struct scsi_reassign_blocks_data ),
						/* sense_len */
SSD_FULL_SIZE,
						/* cdb_len */
sizeof(struct scsi_reassign_blocks),
						/* timeout */ 10000);

	cam_send_ccb(testData->device, &testData->ccb)

	I would like to know what this 10000 is .
	is it 10000 milisec or 10000 micro sec.

	Regards,
	Gaurav

	 
	Have A Nice Day!


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?882B7E812BE14E4BA7E86387242C8DB902590698>