Re: HBA self selection

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

 



On Thu, 2006-04-13 at 09:24 -0600, Matthew Wilcox wrote:
> I can take the code out that prevents us talking to the bus; it's pretty
> much a one-liner:
> 
> -        if (sdev->id == np->myaddr) {
> -                sym_xpt_done2(np, cmd, DID_NO_CONNECT);
> -                return 0;
> -        }
> 
> but I'd like this change tested, if you wouldn't mind.  After the
> midlayer's fixed, of course ;-)

I really don't think it's a good idea to try to force a HBA to select
it's own address in SPI.  It's certainly illegal under the standard, and
there are many things that could go wrong with this (both inside the HBA
and on the bus).

Steve, how exactly is this supposed to work?  The SPI protocol wasn't
designed to allow two devices on the bus with the same ID.  I'm assuming
the device doesn't do all the things that simply can't work, like
disconnect/reconnect?

James


-
: 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