Re: [PATCH 5/6] aha152x.c - Fix check_condition code-path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux