FDC(4) | Device Drivers Manual (x86) | FDC(4) |
fdc
—
fdc0 at isa? port 0x3f0 irq 6 drq 2
fdc* at acpi?
fdc* at pnpbios? index ?
fd* at fdc? drive ?
fdc
driver provides support for the NEC 765 floppy
disk controller and floppy disk drives, commonly found on IBM-PC compatible
systems.
The driver supports the following floppy diskette formats by using particular partitions:
<sys/fdio.h>
:
FDIOCGETFORMAT
struct fdformat_parmsFDIOCSETFORMAT
struct fdformat_parmsFDIOCFORMAT_TRACK
struct fdformat_cmdEINVAL
, the track formatting parameters were out
of range for the medium. If it returns EIO
, there
was a medium error while formatting the track.FDIOCSETOPTS
intFDOPT_NORETRY
FDOPT_SILENT
FDIOCGETOPTS
intA typical use of the formatting facilities would be to open the
device, call FDIOCGETFORMAT
to fetch the current
format parameters, perhaps change a parameter or two, display the formatting
details to the user, and then call FDIOCSETFORMAT
followed by a series of calls to
FDIOCFORMAT_TRACK
.
fdc
formatting support appeared in
NetBSD 1.3.
September 23, 2011 | NetBSD 9.4 |