Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
410 volatile unsigned short host_busy; /* commands actually active on<br />
low-level */<br />
411 volatile unsigned short host_failed; /* commands that failed. */<br />
412<br />
104<br />
413 unsigned short host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al.<br />
*/<br />
414 int resetting; /* if set, it means that last_reset is a valid value */<br />
415 unsigned long last_reset;<br />
416<br />
417 /*<br />
418 * These three parameters can be used to allow for wide scsi,<br />
419 * and for host adapters that support multiple busses<br />
420 * The first two should be set to 1 more than the actual max id<br />
421 * or lun (i.e. 8 for normal systems).<br />
422 */<br />
423 unsigned int max_id;<br />
424 unsigned int max_lun;<br />
425 unsigned int max_channel;<br />
426<br />
427 /*<br />
428 * This is a unique identifier that must be assigned so that we<br />
429 * have some way <strong>of</strong> identifying each detected host adapter properly<br />
430 * and uniquely. For hosts that do not support more than one card<br />
431 * in the system at one time, this does not need to be set. It is<br />
432 * initialized to 0 in scsi_register.<br />
433 */<br />
434 unsigned int unique_id;<br />
435<br />
436 /*<br />
437 * The maximum length <strong>of</strong> SCSI commands that this host can accept.<br />
438 * Probably 12 for most host adapters, but could be 16 for others.<br />
439 * For drivers that don't set this field, a value <strong>of</strong> 12 is<br />
440 * assumed. I am leaving this as a number rather than a bit<br />
441 * because you never know what subsequent SCSI standards might do<br />
442 * (i.e. could there be a 20 byte or a 24-byte command a few years<br />
443 * down the road?).<br />
444 */<br />
445 unsigned char max_cmd_len;<br />
446<br />
447 int this_id;<br />
448 int can_queue;<br />
449 short cmd_per_lun;<br />
450 short unsigned int sg_tablesize;