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,8 +4260,11 @@ int __init floppy_init(void) ...@@ -4260,8 +4260,11 @@ 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*/
#ifdef __mc68000__
if (MACH_IS_SUN3X)
#endif
FDCS->version = FDC_82072A; 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