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
Kirill Smelkov
linux
Commits
69f54f0f
Commit
69f54f0f
authored
Feb 20, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: provide __ide_mm_insw etc.
parent
411371cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+4
-2
include/asm-ppc/ide.h
include/asm-ppc/ide.h
+5
-0
No files found.
arch/ppc/kernel/misc.S
View file @
69f54f0f
...
@@ -837,7 +837,7 @@ _GLOBAL(_outsl)
...
@@ -837,7 +837,7 @@ _GLOBAL(_outsl)
bdnz
00
b
bdnz
00
b
blr
blr
_GLOBAL
(
ide
_insw
)
_GLOBAL
(
__ide_mm
_insw
)
_GLOBAL
(
_insw_ns
)
_GLOBAL
(
_insw_ns
)
cmpwi
0
,
r5
,
0
cmpwi
0
,
r5
,
0
mtctr
r5
mtctr
r5
...
@@ -849,7 +849,7 @@ _GLOBAL(_insw_ns)
...
@@ -849,7 +849,7 @@ _GLOBAL(_insw_ns)
bdnz
00
b
bdnz
00
b
blr
blr
_GLOBAL
(
ide
_outsw
)
_GLOBAL
(
__ide_mm
_outsw
)
_GLOBAL
(
_outsw_ns
)
_GLOBAL
(
_outsw_ns
)
cmpwi
0
,
r5
,
0
cmpwi
0
,
r5
,
0
mtctr
r5
mtctr
r5
...
@@ -861,6 +861,7 @@ _GLOBAL(_outsw_ns)
...
@@ -861,6 +861,7 @@ _GLOBAL(_outsw_ns)
bdnz
00
b
bdnz
00
b
blr
blr
_GLOBAL
(
__ide_mm_insl
)
_GLOBAL
(
_insl_ns
)
_GLOBAL
(
_insl_ns
)
cmpwi
0
,
r5
,
0
cmpwi
0
,
r5
,
0
mtctr
r5
mtctr
r5
...
@@ -872,6 +873,7 @@ _GLOBAL(_insl_ns)
...
@@ -872,6 +873,7 @@ _GLOBAL(_insl_ns)
bdnz
00
b
bdnz
00
b
blr
blr
_GLOBAL
(
__ide_mm_outsl
)
_GLOBAL
(
_outsl_ns
)
_GLOBAL
(
_outsl_ns
)
cmpwi
0
,
r5
,
0
cmpwi
0
,
r5
,
0
mtctr
r5
mtctr
r5
...
...
include/asm-ppc/ide.h
View file @
69f54f0f
...
@@ -27,6 +27,11 @@
...
@@ -27,6 +27,11 @@
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <asm/io.h>
#include <asm/io.h>
extern
void
__ide_mm_insw
(
unsigned
long
port
,
void
*
addr
,
u32
count
);
extern
void
__ide_mm_outsw
(
unsigned
long
port
,
void
*
addr
,
u32
count
);
extern
void
__ide_mm_insl
(
unsigned
long
port
,
void
*
addr
,
u32
count
);
extern
void
__ide_mm_outsl
(
unsigned
long
port
,
void
*
addr
,
u32
count
);
struct
ide_machdep_calls
{
struct
ide_machdep_calls
{
int
(
*
default_irq
)(
ide_ioreg_t
base
);
int
(
*
default_irq
)(
ide_ioreg_t
base
);
ide_ioreg_t
(
*
default_io_base
)(
int
index
);
ide_ioreg_t
(
*
default_io_base
)(
int
index
);
...
...
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