Lines Matching defs:hd_driveid

140 typedef struct hd_driveid {  struct
141 unsigned short config; /* lots of obsolete bit flags */
142 unsigned short cyls; /* "physical" cyls */
143 unsigned short reserved2; /* reserved (word 2) */
144 unsigned short heads; /* "physical" heads */
145 unsigned short track_bytes; /* unformatted bytes per track */
146 unsigned short sector_bytes; /* unformatted bytes per sector */
147 unsigned short sectors; /* "physical" sectors per track */
148 unsigned short vendor0; /* vendor unique */
149 unsigned short vendor1; /* vendor unique */
150 unsigned short vendor2; /* vendor unique */
151 unsigned char serial_no[20]; /* 0 = not_specified */
152 unsigned short buf_type;
153 unsigned short buf_size; /* 512 byte increments; 0 = not_specified */
154 unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */
155 unsigned char fw_rev[8]; /* 0 = not_specified */
156 unsigned char model[40]; /* 0 = not_specified */
157 unsigned char max_multsect; /* 0=not_implemented */
158 unsigned char vendor3; /* vendor unique */
159 unsigned short dword_io; /* 0=not_implemented; 1=implemented */
160 unsigned char vendor4; /* vendor unique */
161 unsigned char capability; /* bits 0:DMA 1:LBA 2:IORDYsw 3:IORDYsup*/
162 unsigned short reserved50; /* reserved (word 50) */
163 unsigned char vendor5; /* vendor unique */
164 unsigned char tPIO; /* 0=slow, 1=medium, 2=fast */
165 unsigned char vendor6; /* vendor unique */
166 unsigned char tDMA; /* 0=slow, 1=medium, 2=fast */
167 unsigned short field_valid; /* bits 0:cur_ok 1:eide_ok */
168 unsigned short cur_cyls; /* logical cylinders */
169 unsigned short cur_heads; /* logical heads */
170 unsigned short cur_sectors; /* logical sectors per track */
171 unsigned short cur_capacity0; /* logical total sectors on drive */
172 unsigned short cur_capacity1; /* (2 words, misaligned int) */
173 unsigned char multsect; /* current multiple sector count */
174 unsigned char multsect_valid; /* when (bit0==1) multsect is ok */
175 unsigned int lba_capacity; /* total number of sectors */
176 unsigned short dma_1word; /* single-word dma info */
177 unsigned short dma_mword; /* multiple-word dma info */
178 unsigned short eide_pio_modes; /* bits 0:mode3 1:mode4 */
179 unsigned short eide_dma_min; /* min mword dma cycle time (ns) */
180 unsigned short eide_dma_time; /* recommended mword dma cycle time (ns) */
181 unsigned short eide_pio; /* min cycle time (ns), no IORDY */
182 unsigned short eide_pio_iordy; /* min cycle time (ns), with IORDY */
183 unsigned short words69_70[2]; /* reserved words 69-70 */
184 unsigned short words71_74[4]; /* reserved words 71-74 */
185 unsigned short queue_depth; /* */
186 unsigned short words76_79[4]; /* reserved words 76-79 */
187 unsigned short major_rev_num; /* */
188 unsigned short minor_rev_num; /* */
189 unsigned short command_set_1; /* bits 0:Smart 1:Security 2:Removable 3:PM */
190 unsigned short command_set_2; /* bits 14:Smart Enabled 13:0 zero 10:lba48 support*/
191 unsigned short cfsse; /* command set-feature supported extensions */
192 unsigned short cfs_enable_1; /* command set-feature enabled */
193 unsigned short cfs_enable_2; /* command set-feature enabled */
194 unsigned short csf_default; /* command set-feature default */
195 unsigned short dma_ultra; /* */
196 unsigned short word89; /* reserved (word 89) */
197 unsigned short word90; /* reserved (word 90) */
198 unsigned short CurAPMvalues; /* current APM values */
199 unsigned short word92; /* reserved (word 92) */
200 unsigned short hw_config; /* hardware config */
201 unsigned short words94_99[6];/* reserved words 94-99 */
203 unsigned short lba48_capacity[4]; /* 4 16bit values containing lba 48 total number of sectors */
204 unsigned short words104_125[22];/* reserved words 104-125 */
205 unsigned short last_lun; /* reserved (word 126) */
206 unsigned short word127; /* reserved (word 127) */
207 unsigned short dlf; /* device lock function
231 } hd_driveid_t; argument