Lines 27-33
Link Here
|
27 |
.\" |
27 |
.\" |
28 |
.\" $FreeBSD$ |
28 |
.\" $FreeBSD$ |
29 |
.\" |
29 |
.\" |
30 |
.Dd April 7, 2017 |
30 |
.Dd September 20, 2021 |
31 |
.Dt FDC 4 |
31 |
.Dt FDC 4 |
32 |
.Os |
32 |
.Os |
33 |
.Sh NAME |
33 |
.Sh NAME |
Lines 313-318
Third argument is a pointer to
Link Here
|
313 |
This type is the same as being used in the per-drive configuration |
313 |
This type is the same as being used in the per-drive configuration |
314 |
flags, or in the CMOS configuration data or ACPI namespace on IA32 systems. |
314 |
flags, or in the CMOS configuration data or ACPI namespace on IA32 systems. |
315 |
.El |
315 |
.El |
|
|
316 |
.Sh SYSCTL VARIABLES |
317 |
.Bl -tag -width "debug.fdc.debugflags" |
318 |
.It Dv debug.fdc.debugflags |
319 |
Selectively enable debugging by setting one or more flags. |
320 |
.Bl -tag -width "0x40" |
321 |
.It Dv 0x01 |
322 |
Dump device registers on reset. |
323 |
.It Dv 0x02 |
324 |
When an IO operation completes, print the number of retries |
325 |
when that number is greater than zero. |
326 |
.It Dv 0x04 |
327 |
Print when the number of retries exceeds |
328 |
.Dv debug.fdc.retries |
329 |
.Pq Dv EIO . |
330 |
Print when the option |
331 |
.Dv FDOPT_NOERROR |
332 |
is set and an error would have returned from a write operation. |
333 |
.It Dv 0x08 |
334 |
Print detailed IO command information. |
335 |
.It Dv 0x10 |
336 |
Print status registers. |
337 |
.It Dv 0x20 |
338 |
Print detailed status registers when interrupts complete. |
339 |
Print the source code line number close to the source of a |
340 |
non-zero return from a thread worker operation. |
341 |
.It Dv 0x40 |
342 |
Print when the disk appears to be lost. |
343 |
Print cylinder, head, sector, and sector shift information |
344 |
after a request to read an ID field. |
345 |
Notify whether a disk probe resulted in finding a disk. |
346 |
When detecting the density of media present, indicate whether |
347 |
the autosensing was successful, and if so, the size of the |
348 |
medium in kilobytes. |
349 |
Print detailed type information when setting the drive type. |
350 |
.It Dv 0x80 |
351 |
Print when an unknown IOCTL is used. |
352 |
.El |
353 |
.It Dv debug.fdc.fifo |
354 |
For enhanced controllers, allows a non-default FIFO |
355 |
threshold setting. The default is 8 bytes. |
356 |
.It Dv debug.fdc.retries |
357 |
Maximum number of retries to attempt. The default is 10. |
358 |
.It Dv debug.fdc.spec1 |
359 |
Specification byte one (step-rate + head unload). |
360 |
The default step rate is 6 ms. The default head unload |
361 |
time is 240 ms. |
362 |
.It Dv debug.fdc.spec2 |
363 |
Specification byte two (head load time + no-dma). |
364 |
The default head load time is 16 ms, and no-dma is 0 |
365 |
.Pq disabled . |
366 |
.It Dv debug.fdc.settle |
367 |
Head settling time in |
368 |
.Sy settle |
369 |
/ hz seconds. The default value is set during device attach. |
370 |
.El |
316 |
.Sh FILES |
371 |
.Sh FILES |
317 |
.Bl -tag -width ".Pa /dev/fd*" -compact |
372 |
.Bl -tag -width ".Pa /dev/fd*" -compact |
318 |
.It Pa /dev/fd* |
373 |
.It Pa /dev/fd* |