* .queuecommand field in struct scsi_host_template, for sas
@ 2016-04-09 6:20 pesa1
0 siblings, 0 replies; only message in thread
From: pesa1 @ 2016-04-09 6:20 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-09 7:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-09 6:20 .queuecommand field in struct scsi_host_template, for sas pesa1
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®