Lines Matching refs:workarounds
89 * Instead of adding to the built-in blacklist, use only the workarounds
103 module_param_named(workarounds, sbp2_param_workarounds, int, 0644);
104 MODULE_PARM_DESC(workarounds, "Work around device bugs (default = 0"
161 unsigned int workarounds;
333 unsigned int workarounds;
338 .workarounds = SBP2_WORKAROUND_INQUIRY_36 |
345 .workarounds = SBP2_WORKAROUND_POWER_CONDITION,
350 .workarounds = SBP2_WORKAROUND_INQUIRY_36,
355 .workarounds = SBP2_WORKAROUND_POWER_CONDITION,
360 .workarounds = SBP2_WORKAROUND_128K_MAX_TRANS,
365 .workarounds = SBP2_WORKAROUND_128K_MAX_TRANS,
374 .workarounds = SBP2_WORKAROUND_128K_MAX_TRANS |
380 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
385 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
390 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
395 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
861 if (lu->tgt->workarounds & SBP2_WORKAROUND_DELAY_INQUIRY)
1095 "if you need the workarounds parameter\n");
1110 w |= sbp2_workarounds_table[i].workarounds;
1115 dev_notice(tgt_dev(tgt), "workarounds 0x%x "
1118 tgt->workarounds = w;
1509 if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36)
1531 lu->tgt->workarounds & SBP2_WORKAROUND_MODE_SENSE_8)
1534 if (lu->tgt->workarounds & SBP2_WORKAROUND_FIX_CAPACITY)
1537 if (lu->tgt->workarounds & SBP2_WORKAROUND_POWER_CONDITION)
1540 if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS)