summaryrefslogtreecommitdiff
path: root/drivers/scsi/wd719x.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-09 16:54:05 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-15 14:27:08 -0500
commitfde46e968258500fdf94ab9a450a958e4062174b (patch)
tree005272b8de47f88daba5d0be10812173c0268a1b /drivers/scsi/wd719x.h
parentd9c30dbca7994859d14eef51813454adaff1a9a0 (diff)
scsi: wd719x: use per-command private data
Add the SCB onto the scsi command allocation and use dma streaming mappings for it only when in use. This avoid possibly calling dma_alloc_coherent under a lock or even in irq context, while also making the code simpler. Thanks to Ondrej Zary for testing and various bug fixes. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/wd719x.h')
-rw-r--r--drivers/scsi/wd719x.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/wd719x.h b/drivers/scsi/wd719x.h
index 0455b1633ca7..abaabd419a54 100644
--- a/drivers/scsi/wd719x.h
+++ b/drivers/scsi/wd719x.h
@@ -74,7 +74,6 @@ struct wd719x {
void *hash_virt; /* hash table CPU address */
dma_addr_t hash_phys; /* hash table bus address */
struct list_head active_scbs;
- struct list_head free_scbs;
};
/* timeout delays in microsecs */