Lines Matching refs:workarounds
88 * Instead of adding to the built-in blacklist, use only the workarounds
102 module_param_named(workarounds, sbp2_param_workarounds, int, 0644);
103 MODULE_PARM_DESC(workarounds, "Work around device bugs (default = 0"
160 unsigned int workarounds;
332 unsigned int workarounds;
337 .workarounds = SBP2_WORKAROUND_INQUIRY_36 |
344 .workarounds = SBP2_WORKAROUND_POWER_CONDITION,
349 .workarounds = SBP2_WORKAROUND_INQUIRY_36,
354 .workarounds = SBP2_WORKAROUND_POWER_CONDITION,
359 .workarounds = SBP2_WORKAROUND_128K_MAX_TRANS,
364 .workarounds = SBP2_WORKAROUND_128K_MAX_TRANS,
373 .workarounds = SBP2_WORKAROUND_128K_MAX_TRANS |
379 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
384 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
389 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
394 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
860 if (lu->tgt->workarounds & SBP2_WORKAROUND_DELAY_INQUIRY)
1094 "if you need the workarounds parameter\n");
1109 w |= sbp2_workarounds_table[i].workarounds;
1114 dev_notice(tgt_dev(tgt), "workarounds 0x%x "
1117 tgt->workarounds = w;
1508 if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36)
1527 lu->tgt->workarounds & SBP2_WORKAROUND_MODE_SENSE_8)
1530 if (lu->tgt->workarounds & SBP2_WORKAROUND_FIX_CAPACITY)
1533 if (lu->tgt->workarounds & SBP2_WORKAROUND_POWER_CONDITION)
1536 if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS)