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
77d0f111
Commit
77d0f111
authored
Feb 17, 2003
by
Alan Cox
Committed by
Linus Torvalds
Feb 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix int for i/o in pcmcia ide_cs
parent
67c6746d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
drivers/ide/legacy/ide-cs.c
drivers/ide/legacy/ide-cs.c
+5
-4
No files found.
drivers/ide/legacy/ide-cs.c
View file @
77d0f111
...
...
@@ -225,10 +225,10 @@ while ((last_ret=CardServices(last_fn=(fn), args))!=0) goto cs_failed
#define CFG_CHECK(fn, args...) \
if (CardServices(fn, args) != 0) goto next_entry
static
int
idecs_register
(
int
io
,
int
ctl
,
int
irq
)
static
int
idecs_register
(
unsigned
long
io
,
unsigned
long
ctl
,
unsigned
long
irq
)
{
hw_regs_t
hw
;
ide_init_hwif_ports
(
&
hw
,
(
ide_ioreg_t
)
io
,
(
ide_ioreg_t
)
ctl
,
NULL
);
ide_init_hwif_ports
(
&
hw
,
io
,
ctl
,
NULL
);
hw
.
irq
=
irq
;
hw
.
chipset
=
ide_pci
;
return
ide_register_hw
(
&
hw
,
NULL
);
...
...
@@ -244,7 +244,8 @@ void ide_config(dev_link_t *link)
config_info_t
conf
;
cistpl_cftable_entry_t
*
cfg
=
&
parse
.
cftable_entry
;
cistpl_cftable_entry_t
dflt
=
{
0
};
int
i
,
pass
,
last_ret
,
last_fn
,
hd
,
io_base
,
ctl_base
,
is_kme
=
0
;
int
i
,
pass
,
last_ret
,
last_fn
,
hd
,
is_kme
=
0
;
unsigned
long
io_base
,
ctl_base
;
DEBUG
(
0
,
"ide_config(0x%p)
\n
"
,
link
);
...
...
@@ -367,7 +368,7 @@ void ide_config(dev_link_t *link)
}
if
(
hd
<
0
)
{
printk
(
KERN_NOTICE
"ide-cs: ide_register() at 0x%3
x & 0x%3
x"
printk
(
KERN_NOTICE
"ide-cs: ide_register() at 0x%3
lx & 0x%3l
x"
", irq %u failed
\n
"
,
io_base
,
ctl_base
,
link
->
irq
.
AssignedIRQ
);
goto
failed
;
...
...
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