1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

Add raw RX-50 support. These are 400k single sided disks with 80

tracks and 10 sectors per track. More exotic RX-50 types not
supported, nor is there support for de-interleaving the first two
tracks where the physical sectors are 0 1 2 3 4 5 6 7 8 9, but they
should be interpreted as 0 5 1 6 2 7 3 8 4 9. This is purely to read
the media with dd. The FAT that's on these disks won't work with
msdosfs anyway.
This commit is contained in:
Warner Losh 2016-03-10 00:36:38 +00:00
parent 80139618c9
commit c1a6d28a5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296590
2 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,7 @@ static struct fd_type fd_searchlist_12m[] = {
{ FDF_5_1230 | FL_AUTO },
#else
{ FDF_5_1200 | FL_AUTO },
{ FDF_5_400 | FL_AUTO },
{ FDF_5_360 | FL_2STEP | FL_AUTO},
#endif
{ 0 }

View File

@ -209,6 +209,7 @@ enum fd_drivetype {
#define FDF_5_800 10,2,0xFF,0x10,80,0,FDC_300KBPS,2,0x2e,1,0,FL_MFM
#define FDF_5_720 9,2,0xFF,0x20,80,0,FDC_300KBPS,2,0x50,1,0,FL_MFM
#define FDF_5_640 8,2,0xFF,0x2A,80,0,FDC_300KBPS,2,0x50,1,0,FL_MFM
#define FDF_5_400 10,2,0xFF,0x10,80,0,FDC_300KBPS,1,0x2e,1,0,FL_MFM /* RX50 */
#define FDF_5_360 9,2,0xFF,0x23,40,0,FDC_300KBPS,2,0x50,1,0,FL_MFM
/* XXX: 0x2a ? */
#endif