Subject: Re:2DD in NetBSD-current
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: hirokawa rui <tt26256@secc.ecc.u-tokyo.ac.jp>
List: current-users
Date: 11/27/1993 15:02:18
>From: deraadt@fsa.ca (Theo Deraadt)
>Message-Id: <9311262315.AA03827@fsa.ca>
>
>There are tables in fd.c -- near the top. If you wish to fiddle
>with them and let us know what they should be for your drive
>that'd be nice.

>It might already be solved in the magnum src tree though:

>        { 18,2,0xff,0xcf,0x1b,0x6c,80,2880,1,0,2,"1.44MB"    }, /* 1.44MB diskette */
>        { 15,2,0xff,0xdf,0x1b,0x54,80,2400,1,0,2, "1.2MB"    }, /* 1.2 MB AT-diskettes */
>        {  9,2,0xff,0xdf,0x23,0x50,40, 720,2,1,2, "360KB/AT" }, /* 360kB in 1.2MB drive */
>        {  9,2,0xff,0xdf,0x2a,0x50,40, 720,1,2,2, "360KB/PC" }, /* 360kB PC diskettes */
>        {  9,2,0xff,0xdf,0x2a,0x50,80,1440,1,2,2, "720KB"    }, /* 3.5" 720kB diskette */
>        {  9,2,0xff,0xdf,0x23,0x50,80,1440,1,1,2, "720KB/x"  }, /* 720kB in 1.2MB drive */
 >       {  9,2,0xff,0xdf,0x2a,0x50,40, 720,2,2,2, "360KB/x"  }, /* 360kB in 720kB drive */

>Try the parameters from the 5th line in the -current driver. They
>should work.    
---------------------------------------------------
In isa/fd.c in the most recent version of NetBSD-current,

>	{ 9,2,0xFF,0x2A,80,1440,1,0 },	/* 720K drive. PROBABLY WRONG	*/

There are some difference with structure fd_type.
I tried,
	{ 9,2,0xFF,0x2A,80,1440,1,2,2 },	
but , it not worked.

===========================================================
Rui Hirokawa                     | Department of engineering
louis9@tansei.cc.u-tokyo.ac.jp   | Tokyo University
============================================================

------------------------------------------------------------------------------