1.\" $Id: iwm.4,v 1.5 2000/07/05 16:13:50 msaitoh Exp $ 2.\" 3.\" Copyright (c) 1997, 1998 Hauke Fath. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. The name of the author may not be used to endorse or promote products 14.\" derived from this software without specific prior written permission. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26.\" POSSIBILITY OF SUCH DAMAGE. 27.\" 28.Dd June 6, 1998 29.Dt IWM 4 mac68k 30.Os 31.Sh NAME 32.Nm iwm , 33.Nm fd 34.Nd floppy disk driver for IWM and non-DMA SWIM controllers. 35.Sh SYNOPSIS 36.Cd "iwm0 at obio?" 37.Cd "fd* at iwm0 drive ?" 38.Sh DESCRIPTION 39The 40.Nm 41driver interfaces to the built-in and external floppy disk drives on the 42Macintosh. It supports double-density media, written in 43Apple's proprietary GCR format. Currently, there is no disklabel 44support for the floppy drives. Instead, the 45.Nm 46driver sets up a fake in-core disklabel, using the minor device 47number to select from the supported disk formats. 48.Pp 49The following formats are supported: 50.Bl -column header Partition Size sides tracks sectors/track 51.Sy "Partition Size sides tracks sectors/track" 52 a 800Kb 2 80 10 (default) 53 b 400Kb 1 80 10 54 c 800Kb 2 80 10 55.El 56.Pp 57(The above table describes the logical mapping as implemented by the 58driver; the physical layout of GCR floppies has 8..12 sectors per track.) 59.\" 60.Sh FORMATTING 61The 62.Nm 63driver does currently not support floppy disk formatting. 64.\" 65.Sh SEE ALSO 66.\" Cross-references should be ordered by section (low to high), then in 67.\" alphabetical order. 68Apple Computer, Inc.: "Inside Macintosh", Vol III-33f. (Addison-Wesley) 69.Pp 70Apple Computer, Inc.: "New Technical Notes DV 17 - Sony Driver" 71.Pp 72Neil Parker: "iwmstuff" 73.Pp 74.Xr eject 1 75.\" 76.Sh HISTORY 77The 78.Nm 79interface first appeared in 80.Nx 1.4 . 81.\" 82.Sh AUTHORS 83Hauke Fath put together the beginnings of the 84.Nm 85driver in 1996 from the sparse documentation in "Inside Macintosh", 86Neil Parker's "iwmstuff" documentation for the Apple IIgs and a long, 87hard look at the .Sony driver. 88.\" 89.Sh BUGS 90The FFS code is incapable of dealing with a varying number of 91sectors per track. We have to fake a mapping and so lose FFS support 92for hardware parameters like transition times. 93.Pp 94The driver only supports an obsolete format. 95 96