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
7d782710
Commit
7d782710
authored
Apr 13, 2004
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Apr 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] asm-ia64/ide.h: use unsigned long instead of ide_ioreg_t
parent
767b80a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
include/asm-ia64/ide.h
include/asm-ia64/ide.h
+5
-7
No files found.
include/asm-ia64/ide.h
View file @
7d782710
...
...
@@ -25,8 +25,7 @@
# endif
#endif
static
__inline__
int
ide_default_irq
(
ide_ioreg_t
base
)
static
inline
int
ide_default_irq
(
unsigned
long
base
)
{
switch
(
base
)
{
case
0x1f0
:
return
isa_irq_to_vector
(
14
);
...
...
@@ -40,8 +39,7 @@ ide_default_irq (ide_ioreg_t base)
}
}
static
__inline__
ide_ioreg_t
ide_default_io_base
(
int
index
)
static
inline
unsigned
long
ide_default_io_base
(
int
index
)
{
switch
(
index
)
{
case
0
:
return
0x1f0
;
...
...
@@ -55,10 +53,10 @@ ide_default_io_base (int index)
}
}
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
)
{
ide_ioreg_t
reg
=
data_port
;
unsigned
long
reg
=
data_port
;
int
i
;
for
(
i
=
IDE_DATA_OFFSET
;
i
<=
IDE_STATUS_OFFSET
;
i
++
)
{
...
...
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