Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
73ea9e1b
Commit
73ea9e1b
authored
Sep 19, 2006
by
Stephen Rothwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[POWERPC] clean up ide io accessors
Signed-off-by:
Stephen Rothwell
<
sfr@canb.auug.org.au
>
parent
661f1cdb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
40 deletions
+6
-40
arch/powerpc/kernel/misc.S
arch/powerpc/kernel/misc.S
+0
-12
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kernel/ppc_ksyms.c
+0
-7
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+0
-4
arch/ppc/kernel/ppc_ksyms.c
arch/ppc/kernel/ppc_ksyms.c
+0
-5
include/asm-powerpc/ide.h
include/asm-powerpc/ide.h
+6
-6
include/asm-powerpc/io.h
include/asm-powerpc/io.h
+0
-6
No files found.
arch/powerpc/kernel/misc.S
View file @
73ea9e1b
...
...
@@ -86,9 +86,6 @@ _GLOBAL(_outsb)
sync
blr
#ifdef CONFIG_PPC32
_GLOBAL
(
__ide_mm_insw
)
#endif
_GLOBAL
(
_insw_ns
)
sync
cmpwi
0
,
r5
,
0
...
...
@@ -103,9 +100,6 @@ _GLOBAL(_insw_ns)
isync
blr
#ifdef CONFIG_PPC32
_GLOBAL
(
__ide_mm_outsw
)
#endif
_GLOBAL
(
_outsw_ns
)
cmpwi
0
,
r5
,
0
mtctr
r5
...
...
@@ -118,9 +112,6 @@ _GLOBAL(_outsw_ns)
sync
blr
#ifdef CONFIG_PPC32
_GLOBAL
(
__ide_mm_insl
)
#endif
_GLOBAL
(
_insl_ns
)
sync
cmpwi
0
,
r5
,
0
...
...
@@ -135,9 +126,6 @@ _GLOBAL(_insl_ns)
isync
blr
#ifdef CONFIG_PPC32
_GLOBAL
(
__ide_mm_outsl
)
#endif
_GLOBAL
(
_outsl_ns
)
cmpwi
0
,
r5
,
0
mtctr
r5
...
...
arch/powerpc/kernel/ppc_ksyms.c
View file @
73ea9e1b
...
...
@@ -95,13 +95,6 @@ EXPORT_SYMBOL(__strnlen_user);
EXPORT_SYMBOL
(
copy_4K_page
);
#endif
#ifndef __powerpc64__
EXPORT_SYMBOL
(
__ide_mm_insl
);
EXPORT_SYMBOL
(
__ide_mm_outsw
);
EXPORT_SYMBOL
(
__ide_mm_insw
);
EXPORT_SYMBOL
(
__ide_mm_outsl
);
#endif
EXPORT_SYMBOL
(
_insb
);
EXPORT_SYMBOL
(
_outsb
);
EXPORT_SYMBOL
(
_insw_ns
);
...
...
arch/ppc/kernel/misc.S
View file @
73ea9e1b
...
...
@@ -768,7 +768,6 @@ _GLOBAL(_outsb)
bdnz
00
b
blr
_GLOBAL
(
__ide_mm_insw
)
_GLOBAL
(
_insw_ns
)
cmpwi
0
,
r5
,
0
mtctr
r5
...
...
@@ -790,7 +789,6 @@ _GLOBAL(_insw_ns)
bdnz
00
b
blr
_GLOBAL
(
__ide_mm_outsw
)
_GLOBAL
(
_outsw_ns
)
cmpwi
0
,
r5
,
0
mtctr
r5
...
...
@@ -812,7 +810,6 @@ _GLOBAL(_outsw_ns)
bdnz
00
b
blr
_GLOBAL
(
__ide_mm_insl
)
_GLOBAL
(
_insl_ns
)
cmpwi
0
,
r5
,
0
mtctr
r5
...
...
@@ -834,7 +831,6 @@ _GLOBAL(_insl_ns)
bdnz
00
b
blr
_GLOBAL
(
__ide_mm_outsl
)
_GLOBAL
(
_outsl_ns
)
cmpwi
0
,
r5
,
0
mtctr
r5
...
...
arch/ppc/kernel/ppc_ksyms.c
View file @
73ea9e1b
...
...
@@ -115,11 +115,6 @@ EXPORT_SYMBOL(outw);
EXPORT_SYMBOL(outl);
EXPORT_SYMBOL(outsl);*/
EXPORT_SYMBOL
(
__ide_mm_insl
);
EXPORT_SYMBOL
(
__ide_mm_outsw
);
EXPORT_SYMBOL
(
__ide_mm_insw
);
EXPORT_SYMBOL
(
__ide_mm_outsl
);
EXPORT_SYMBOL
(
_insb
);
EXPORT_SYMBOL
(
_outsb
);
EXPORT_SYMBOL
(
_insw_ns
);
...
...
include/asm-powerpc/ide.h
View file @
73ea9e1b
...
...
@@ -12,6 +12,7 @@
#include <linux/sched.h>
#include <asm/mpc8xx.h>
#endif
#include <asm/io.h>
#ifndef MAX_HWIFS
#ifdef __powerpc64__
...
...
@@ -21,15 +22,14 @@
#endif
#endif
#define __ide_mm_insw(p, a, c) _insw_ns((volatile u16 __iomem *)(p), (a), (c))
#define __ide_mm_insl(p, a, c) _insl_ns((volatile u32 __iomem *)(p), (a), (c))
#define __ide_mm_outsw(p, a, c) _outsw_ns((volatile u16 __iomem *)(p), (a), (c))
#define __ide_mm_outsl(p, a, c) _outsl_ns((volatile u32 __iomem *)(p), (a), (c))
#ifndef __powerpc64__
#include <linux/hdreg.h>
#include <linux/ioport.h>
#include <asm/io.h>
extern
void
__ide_mm_insw
(
void
__iomem
*
port
,
void
*
addr
,
u32
count
);
extern
void
__ide_mm_outsw
(
void
__iomem
*
port
,
void
*
addr
,
u32
count
);
extern
void
__ide_mm_insl
(
void
__iomem
*
port
,
void
*
addr
,
u32
count
);
extern
void
__ide_mm_outsl
(
void
__iomem
*
port
,
void
*
addr
,
u32
count
);
struct
ide_machdep_calls
{
int
(
*
default_irq
)(
unsigned
long
base
);
...
...
include/asm-powerpc/io.h
View file @
73ea9e1b
...
...
@@ -28,12 +28,6 @@ extern int check_legacy_ioport(unsigned long base_port);
#include <asm-generic/iomap.h>
#define __ide_mm_insw(p, a, c) _insw_ns((volatile u16 __iomem *)(p), (a), (c))
#define __ide_mm_insl(p, a, c) _insl_ns((volatile u32 __iomem *)(p), (a), (c))
#define __ide_mm_outsw(p, a, c) _outsw_ns((volatile u16 __iomem *)(p), (a), (c))
#define __ide_mm_outsl(p, a, c) _outsl_ns((volatile u32 __iomem *)(p), (a), (c))
#define SIO_CONFIG_RA 0x398
#define SIO_CONFIG_RD 0x399
...
...
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