public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Khalid Aziz <khalid@fc.hp.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: To SCSI driver maintainers: 16-byte CDB support in SCSI interface  drivers
Date: Mon, 29 Oct 2001 12:57:39 -0700	[thread overview]
Message-ID: <3BDDB4B3.2672CBDB@fc.hp.com> (raw)

ac series kernels starting with 2.4.10-ac5 contain a patch that enables
SCSI midlayer to send SCSI commands larger than 12 bytes to the
interface
drivers. Before sending a larger command, midlayer will check the
command size against Scsi_Host->max_cmd_len. If Scsi_Host->max_cmd_len
is larger than or equal to the command size, the command will be sent
to the interface driver else it will be terminated with an error.
scsi_register() sets Scsi_Host->max_cmd_len to 12 by default for every
interface. If a driver and the interface can support larger commands,
the driver should set Scsi_Host->max_cmd_len to the correct value after
calling scsi_register(). Please make this change to your driver if you
would like to support larger SCSI commands. Non-ac kernels will not
be affected by this change since Scsi_Host->max_cmd_len is unused on
those kernels.

-- 
Khalid

====================================================================
Khalid Aziz                              Linux Systems Operation R&D
(970)898-9214                                        Hewlett-Packard
khalid@fc.hp.com                                    Fort Collins, CO

                 reply	other threads:[~2001-10-29 19:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3BDDB4B3.2672CBDB@fc.hp.com \
    --to=khalid@fc.hp.com \
    --cc=linux-kernel@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