07.06.2013 Views

Scsi - Index of

Scsi - Index of

Scsi - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

56 jiffie count on our counter, they<br />

57 could all be from the same event. */<br />

58<br />

59 unsigned int id, lun, channel;<br />

60<br />

61 unsigned int manufacturer; /* Manufacturer <strong>of</strong> device, for using<br />

62 * vendor-specific cmd's */<br />

63 unsigned sector_size; /* size in bytes */<br />

64<br />

65 void *hostdata; /* available to low-level driver */<br />

66 char devfs_name[256]; /* devfs junk */<br />

67 char type;<br />

68 char scsi_level;<br />

69 char inq_periph_qual; /* PQ from INQUIRY data */<br />

70 unsigned char inquiry_len; /* valid bytes in 'inquiry' */<br />

71 unsigned char * inquiry; /* INQUIRY response data */<br />

72 char * vendor; /* [back_compat] point into 'inquiry' ... */<br />

73 char * model; /* ... after scan; point to static string */<br />

74 char * rev; /* ... "nullnullnullnull" before scan */<br />

75 unsigned char current_tag; /* current tag */<br />

76 struct scsi_target *sdev_target; /* used only for single_lun */<br />

77<br />

78 unsigned int sdev_bflags; /* black/white flags as also found in<br />

79 * scsi_devinfo.[hc]. For now used only to<br />

80 * pass settings from slave_alloc to scsi<br />

81 * core. */<br />

82 unsigned writeable:1;<br />

83 unsigned removable:1;<br />

84 unsigned changed:1; /* Data invalid due to media change */<br />

85 unsigned busy:1; /* Used to prevent races */<br />

86 unsigned lockable:1; /* Able to prevent media removal */<br />

87 unsigned locked:1; /* Media removal disabled */<br />

88 unsigned borken:1; /* Tell the Seagate driver to be<br />

89 * painfully slow on this device */<br />

90 unsigned disconnect:1; /* can disconnect */<br />

91 unsigned s<strong>of</strong>t_reset:1; /* Uses s<strong>of</strong>t reset option */<br />

92 unsigned sdtr:1; /* Device supports SDTR messages */<br />

93 unsigned wdtr:1; /* Device supports WDTR messages */<br />

94 unsigned ppr:1; /* Device supports PPR messages */<br />

95 unsigned tagged_supported:1; /* Supports SCSI-II tagged queuing */<br />

96 unsigned simple_tags:1; /* simple queue tag messages are enabled */<br />

126<br />

97 unsigned ordered_tags:1;/* ordered queue tag messages are enabled */<br />

98 unsigned single_lun:1; /* Indicates we should only allow I/O to

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!