Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1374583 > unrolled thread
| Started by | pesa1 <Faryinly86@rhyta.com> |
|---|---|
| First post | 2016-04-09 09:30 +0200 |
| Last post | 2016-04-09 09:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
.queuecommand field in struct scsi_host_template, for sas pesa1 <Faryinly86@rhyta.com> - 2016-04-09 09:30 +0200
| From | pesa1 <Faryinly86@rhyta.com> |
|---|---|
| Date | 2016-04-09 09:30 +0200 |
| Subject | .queuecommand field in struct scsi_host_template, for sas |
| Message-ID | <rlVvb-1nN-1@gated-at.bofh.it> |
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.
Back to top | Article view | linux.kernel
csiph-web