On Thu, 2007-08-02 at 12:09 -0700, Randy Dunlap wrote: > > 5. Now a Test Unit Ready comes in. Already a good second and more after > > the eject. The card is clearly not powered by now. > > aha152x_internal_queue should check it's own presence. and return > > appropriate value. > > Two questions: > > a. What should be the return value from a queuecommand handler > > when the card is no longer present? > > b. What should we check to know we no longer have a card? > > Anyone?? a. Yes, it should return DID_NO_CONNECT via the command result code (as in set result to this shifted correctly and return 0). b. no idea ... that depends on the card. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html