Lines Matching defs:hd_driveid

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