1.\" $NetBSD: fdc.4,v 1.9 2017/02/17 22:24:46 christos Exp $ 2.\" 3.\" Copyright (c) 1998 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Klaus J. Klein. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" POSSIBILITY OF SUCH DAMAGE. 29.\" 30.Dd February 17, 2017 31.Dt FDC 4 amiga 32.Os 33.Sh NAME 34.Nm fdc 35.Nd Amiga custom chip floppy disk controller device 36.Sh SYNOPSIS 37.Cd "fdc0 at mainbus0" 38.Cd "fd* at fdc? unit ?" 39.Sh DESCRIPTION 40The 41.Nm 42device driver provides support for the mainboard floppy disk controller and 43floppy disk drives on Amiga systems. 44.Pp 45The driver supports the following floppy diskette formats by using 46particular partitions: 47.Bl -tag -width Dv -offset indent -compact 48.It "880KB " "3.5-inch " 11 sectors/track (``Amiga'') (a) 49.It "1.76MB" "3.5-inch " 22 sectors/track (``Amiga'') (a) 50.It "880KB " "5.25-inch" 11 sectors/track (``Amiga'') (a) 51.It "720KB " "3.5-inch " 9 sectors/track (``MS-DOS'') (b) 52.It "1.44MB" "3.5-inch " 18 sectors/track (``MS-DOS'') (b) 53.It "720KB " "5.25-inch" 9 sectors/track (``MS-DOS'') (b) 54.El 55On systems equipped with floppy disk drives capable of using high-density 56floppy diskettes, 57the driver automatically detects whether the inserted floppy diskette is 58either a double-density or a high-density medium. 59.Sh DIAGNOSTICS 60.Bl -diag 61.It "fdc: unable to allocate DMA buffer" 62The driver found the controller, but was unable to allocate the 63amount of chip memory required for its DMA buffers. 64.El 65.Sh SEE ALSO 66.Xr fdformat 1 , 67.Xr amiga/autoconf 4 68.Sh BUGS 69In order to detect a floppy disk drive's capability of using high-density 70media, a high-density diskette has to be inserted for the duration of the 71autoconfiguration phase of the drive. 72.Pp 73The 74.Nm 75driver supports neither the 76.Xr fdformat 1 77facility nor the 78.In sys/fdio.h 79interface. 80