public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian King <brking@us.ibm.com>
To: Kilian CAVALOTTI <kilian.cavalotti@lip6.fr>
Cc: linux-scsi@vger.kernel.org
Subject: Re: aic7xxx support for >2TB volumes?
Date: Mon, 21 Nov 2005 09:27:17 -0600	[thread overview]
Message-ID: <4381E755.5060607@us.ibm.com> (raw)
In-Reply-To: <200511211609.47828.kilian.cavalotti@lip6.fr>

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

      reply	other threads:[~2005-11-21 15:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 11:08 aic7xxx support for >2TB volumes? Kilian CAVALOTTI
2005-11-18  8:59 ` Douglas Gilbert
2005-11-18 12:55   ` Kilian CAVALOTTI
2005-11-18 15:01     ` Brian King
2005-11-18 23:05       ` Douglas Gilbert
2005-11-19  1:32         ` Douglas Gilbert
2005-11-19 14:57           ` Kilian CAVALOTTI
2005-11-20  1:33             ` Douglas Gilbert
2005-11-21 10:40               ` Kilian CAVALOTTI
2005-11-19 14:37         ` Kilian CAVALOTTI
2005-11-21  4:53         ` Brian King
2005-11-21 10:09           ` Kilian CAVALOTTI
2005-11-21 14:48             ` Brian King
2005-11-21 15:09               ` Kilian CAVALOTTI
2005-11-21 15:27                 ` Brian King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4381E755.5060607@us.ibm.com \
    --to=brking@us.ibm.com \
    --cc=kilian.cavalotti@lip6.fr \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox