mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SCSI] SPI transport class: misc DV fixes
Key more of the domain validation settings off the inquiry data from the disk (in particular, don't try IU or DT unless the disk claims to support them. Also add a new dv_in_progress flag to prevent recursive DV. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
a07f353701
commit
dfdc58ba35
2 changed files with 25 additions and 8 deletions
|
@ -53,7 +53,8 @@ struct spi_transport_attrs {
|
|||
unsigned int support_ius; /* support Information Units */
|
||||
unsigned int support_qas; /* supports quick arbitration and selection */
|
||||
/* Private Fields */
|
||||
unsigned int dv_pending:1; /* Internal flag */
|
||||
unsigned int dv_pending:1; /* Internal flag: DV Requested */
|
||||
unsigned int dv_in_progress:1; /* Internal: DV started */
|
||||
struct mutex dv_mutex; /* semaphore to serialise dv */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue