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>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPartTM-000-b6b885a5-8420-4c83-afa3-5f4c697f0f1f Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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=20 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 =20 Have A Nice Day! ------=_NextPartTM-000-b6b885a5-8420-4c83-afa3-5f4c697f0f1f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?882B7E812BE14E4BA7E86387242C8DB902590698>