Commit 0c16974d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] M68k update (part 18)

Add Sun-3x floppy support (from 2.4.x)
parent 726412ba
......@@ -4260,9 +4260,12 @@ int __init floppy_init(void)
CLEARSTRUCT(FDCS);
FDCS->dtr = -1;
FDCS->dor = 0x4;
#ifdef __sparc__
/*sparcs don't have a DOR reset which we can fall back on to*/
FDCS->version = FDC_82072A;
#if defined(__sparc__) || defined(__mc68000__)
/*sparcs/sun3x don't have a DOR reset which we can fall back on to*/
#ifdef __mc68000__
if (MACH_IS_SUN3X)
#endif
FDCS->version = FDC_82072A;
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment