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
d4cc447e
Commit
d4cc447e
authored
May 24, 2003
by
Geert Uytterhoeven
Committed by
Linus Torvalds
May 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k kill ide_ioreg_t
M68k IDE: kill ide_ioreg_t and q40ide_ioreg_t
parent
91b729f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
include/asm-m68k/hdreg.h
include/asm-m68k/hdreg.h
+0
-2
include/asm-m68k/ide.h
include/asm-m68k/ide.h
+5
-3
No files found.
include/asm-m68k/hdreg.h
View file @
d4cc447e
...
...
@@ -7,7 +7,5 @@
#ifndef _M68K_HDREG_H
#define _M68K_HDREG_H
typedef
unsigned
int
q40ide_ioreg_t
;
typedef
unsigned
char
*
ide_ioreg_t
;
#endif
/* _M68K_HDREG_H */
include/asm-m68k/ide.h
View file @
d4cc447e
...
...
@@ -51,12 +51,12 @@
#endif
static
__inline__
int
ide_default_irq
(
ide_ioreg_t
base
)
static
__inline__
int
ide_default_irq
(
unsigned
long
base
)
{
return
0
;
}
static
__inline__
ide_ioreg_t
ide_default_io_base
(
int
index
)
static
__inline__
unsigned
long
ide_default_io_base
(
int
index
)
{
return
0
;
}
...
...
@@ -66,7 +66,9 @@ static __inline__ ide_ioreg_t ide_default_io_base(int index)
* Set up a hw structure for a specified data port, control port and IRQ.
* This should follow whatever the default interface uses.
*/
static
__inline__
void
ide_init_hwif_ports
(
hw_regs_t
*
hw
,
ide_ioreg_t
data_port
,
ide_ioreg_t
ctrl_port
,
int
*
irq
)
static
__inline__
void
ide_init_hwif_ports
(
hw_regs_t
*
hw
,
unsigned
long
data_port
,
unsigned
long
ctrl_port
,
int
*
irq
)
{
if
(
data_port
||
ctrl_port
)
printk
(
"ide_init_hwif_ports: must not be called
\n
"
);
...
...
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