Subject: Re: i386 floppy driver broken?
To: Charles M. Hannum <mycroft@ai.mit.edu>
From: Jim Wight <J.K.Wight@newcastle.ac.uk>
List: netbsd-bugs
Date: 05/01/1995 08:40:42
>    Is the i386 NetBSD 1.0 floppy disk driver broken? I have some 3.5"
>    720KB disks that I would like to use but I suspect I am only getting
>    half the capacity out of the character device.
> 
>    A multifile tar archive of a 779 block (1K) directory to /dev/rfd0e
>    works OK but requires 3 disks, not the expected 2.
> 
> You want /dev/rfd0f.

Does that mean that the comments in /sys/arch/i386/isa/fd.c are wrong then?

/* The order of entries in the following table is important -- BEWARE! */
struct fd_type fd_types[] = {
        { 18,2,0xff,0xcf,0x1b,0x6c,80,2880,1,FDC_500KBPS,2,"1.44MB"    }, /* 1.44MB diskette */
        { 15,2,0xff,0xdf,0x1b,0x54,80,2400,1,FDC_500KBPS,2, "1.2MB"    }, /* 1.2 MB AT-diskettes */
        {  9,2,0xff,0xdf,0x23,0x50,40, 720,2,FDC_300KBPS,2, "360KB/AT" }, /* 360kB in 1.2MB drive */
        {  9,2,0xff,0xdf,0x2a,0x50,40, 720,1,FDC_250KBPS,2, "360KB/PC" }, /* 360kB PC diskettes */
        {  9,2,0xff,0xdf,0x2a,0x50,80,1440,1,FDC_250KBPS,2, "720KB"    }, /* 3.5" 720kB diskette */
        {  9,2,0xff,0xdf,0x23,0x50,80,1440,1,FDC_300KBPS,2, "720KB/x"  }, /* 720kB in 1.2MB drive */
        {  9,2,0xff,0xdf,0x2a,0x50,40, 720,2,FDC_250KBPS,2, "360KB/x"  }, /* 360kB in 720kB drive */
};

If the first entry corresponds to fd0a, which is what I use for 3.5"
1.44MB disks, then the entry for 3.5" 720KB disks has got to be fd0e -
unless of course the comment is wrong.

Jim