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) ...@@ -4260,9 +4260,12 @@ int __init floppy_init(void)
CLEARSTRUCT(FDCS); CLEARSTRUCT(FDCS);
FDCS->dtr = -1; FDCS->dtr = -1;
FDCS->dor = 0x4; FDCS->dor = 0x4;
#ifdef __sparc__ #if defined(__sparc__) || defined(__mc68000__)
/*sparcs don't have a DOR reset which we can fall back on to*/ /*sparcs/sun3x don't have a DOR reset which we can fall back on to*/
FDCS->version = FDC_82072A; #ifdef __mc68000__
if (MACH_IS_SUN3X)
#endif
FDCS->version = FDC_82072A;
#endif #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