Re: aic7xxx support for >2TB volumes?

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

 



Kilian CAVALOTTI wrote:
> On Monday 21 November 2005 15:48, Brian King wrote:
> 
>>Quite possibly. Looking at ahc_linux_run_command in aic7xxx_osm.c it
>>appears that commands with a cdb length of > 12 are sent to the adapter in
>>a different way. 
> 
> 
> Do you mean: ?
>         hscb->cdb_len = cmd->cmd_len;
>         if (hscb->cdb_len <= 12) {
>                 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len);
>         } else {
>                 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len);
>                 scb->flags |= SCB_CDB32_PTR;
>         }

Yes.

>>Perhaps this method does not work on the card you have. 
> 
> 
> Isn't there a way to determine if the HBA has an hardware limitation, or the 
> size of the max command length it accepts?

I've never seen a hardware spec for these adapters, so I can't really comment.
Hopefully someone else on the list can help on this one...


-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center
-
: 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