/* Extract sense data */
/*
* The following memcpy() smashes the stack of scsi-layer:InquireDevice()
* when called on FreeBSD amd64 RELENG_9. Commenting it out, until the
* real reason has been found. -- cpghost@cordula.ws
*/
#if 0
memcpy(sense, &(ccb->csio.sense_data), sizeof(struct scsi_sense_data));
#endif
if((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)
return 0;