Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0c16974d
Commit
0c16974d
authored
Jul 23, 2002
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Jul 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k update (part 18)
Add Sun-3x floppy support (from 2.4.x)
parent
726412ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
drivers/block/floppy.c
drivers/block/floppy.c
+6
-3
No files found.
drivers/block/floppy.c
View file @
0c16974d
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment