07.06.2013 Views

Scsi - Index of

Scsi - Index of

Scsi - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

537 /* if the command gets aborted by the higher layers, we need to<br />

538 * short-circuit all other processing<br />

539 */<br />

540 if (test_bit(US_FLIDX_TIMED_OUT, &us->flags)) {<br />

541 US_DEBUGP("-- command was aborted\n");<br />

542 goto Handle_Abort;<br />

543 }<br />

544<br />

545 /* if there is a transport error, reset and don't auto-sense */<br />

546 if (result == USB_STOR_TRANSPORT_ERROR) {<br />

547 US_DEBUGP("-- transport indicates error, resetting\n");<br />

548 us->transport_reset(us);<br />

549 srb->result = DID_ERROR protocol == US_PR_CB || us->protocol == US_PR_DPCM_USB) &&<br />

575 srb->sc_data_direction != DMA_FROM_DEVICE) {<br />

576 US_DEBUGP("-- CB transport device requiring auto-sense\n");<br />

577 need_auto_sense = 1;<br />

578 }<br />

579

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!