300 * operations.
301 */
302
303 #define DCD_IO_TIME 60
304
305 /*
306 * Timeout value for ATA_FLUSH_CACHE used in DKIOCFLUSHWRITECACHE
307 */
308 #define DCD_FLUSH_TIME 60
309
310 /*
311 * 2 hours is an excessively reasonable amount of time for format operations.
312 */
313
314 #define DCD_FMT_TIME 120*60
315
316 /*
317 * 5 seconds is what we'll wait if we get a Busy Status back
318 */
319
320 #define DCD_BSY_TIMEOUT (drv_usectohz(5 * 1000000))
321
322 /*
323 * Number of times we'll retry a normal operation.
324 *
325 * This includes retries due to transport failure
326 * (need to distinguish between Target and Transport failure)
327 */
328
329 #define DCD_RETRY_COUNT 5
330
331
332 /*
333 * Maximum number of units we can support
334 * (controlled by room in minor device byte)
335 * XXX: this is out of date!
336 */
337 #define DCD_MAXUNIT 32
338
339 /*
340 * 30 seconds is what we will wait for the IO to finish
|
300 * operations.
301 */
302
303 #define DCD_IO_TIME 60
304
305 /*
306 * Timeout value for ATA_FLUSH_CACHE used in DKIOCFLUSHWRITECACHE
307 */
308 #define DCD_FLUSH_TIME 60
309
310 /*
311 * 2 hours is an excessively reasonable amount of time for format operations.
312 */
313
314 #define DCD_FMT_TIME 120*60
315
316 /*
317 * 5 seconds is what we'll wait if we get a Busy Status back
318 */
319
320 #define DCD_BSY_TIMEOUT drv_sectohz(5)
321
322 /*
323 * Number of times we'll retry a normal operation.
324 *
325 * This includes retries due to transport failure
326 * (need to distinguish between Target and Transport failure)
327 */
328
329 #define DCD_RETRY_COUNT 5
330
331
332 /*
333 * Maximum number of units we can support
334 * (controlled by room in minor device byte)
335 * XXX: this is out of date!
336 */
337 #define DCD_MAXUNIT 32
338
339 /*
340 * 30 seconds is what we will wait for the IO to finish
|