mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: pesa1 <Faryinly86@rhyta.com>
To: linux-kernel@vger.kernel.org
Subject: .queuecommand field in struct scsi_host_template, for sas
Date: Fri, 8 Apr 2016 23:20:22 -0700 (MST)	[thread overview]
Message-ID: <1460182822835-1347757.post@n7.nabble.com> (raw)

While the following method, in drivers/scsi/libsas/sas_scsi_host:180
	int sas_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)
seems to be the implementation for the `queuecommand` field of struct
scsi_host_template.


Where is it initialized so, for a general sas device?

I can not find, in the code initialization for a scsi device, to the
'sas_queuecommand'.


This is, while the scsi layer, clearly uses that field, in
scsi_dispatch_command():

	rtn = host->hostt->queuecommand(host, cmd);

So, where does it get initialized?.

Thanks





--
View this message in context: http://linux-kernel.2935.n7.nabble.com/queuecommand-field-in-struct-scsi-host-template-for-sas-tp1347757.html
Sent from the Linux Kernel mailing list archive at Nabble.com.

                 reply	other threads:[~2016-04-09  7:28 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=1460182822835-1347757.post@n7.nabble.com \
    --to=faryinly86@rhyta.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

all inboxes | Powered by JetHome®