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
67c6746d
Commit
67c6746d
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] path/ide_ioreg_t fixes for legacy drivers
parent
eca5940b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
drivers/ide/legacy/buddha.c
drivers/ide/legacy/buddha.c
+5
-5
drivers/ide/legacy/dtc2278.c
drivers/ide/legacy/dtc2278.c
+1
-1
drivers/ide/legacy/falconide.c
drivers/ide/legacy/falconide.c
+2
-2
drivers/ide/legacy/gayle.c
drivers/ide/legacy/gayle.c
+5
-5
drivers/ide/legacy/ht6560b.c
drivers/ide/legacy/ht6560b.c
+1
-1
No files found.
drivers/ide/legacy/buddha.c
View file @
67c6746d
/*
* linux/drivers/ide/buddha.c -- Amiga Buddha, Catweasel and X-Surf IDE Driver
* linux/drivers/ide/
legacy/
buddha.c -- Amiga Buddha, Catweasel and X-Surf IDE Driver
*
* Copyright (C) 1997, 2001 by Geert Uytterhoeven and others
*
...
...
@@ -197,16 +197,16 @@ void __init buddha_init(void)
for
(
i
=
0
;
i
<
buddha_num_hwifs
;
i
++
)
{
if
(
type
!=
BOARD_XSURF
)
{
ide_setup_ports
(
&
hw
,
(
ide_ioreg_t
)(
buddha_board
+
buddha_bases
[
i
]),
ide_setup_ports
(
&
hw
,
(
buddha_board
+
buddha_bases
[
i
]),
buddha_offsets
,
0
,
(
ide_ioreg_t
)(
buddha_board
+
buddha_irqports
[
i
]),
(
buddha_board
+
buddha_irqports
[
i
]),
buddha_ack_intr
,
// budda_iops,
IRQ_AMIGA_PORTS
);
}
else
{
ide_setup_ports
(
&
hw
,
(
ide_ioreg_t
)(
buddha_board
+
xsurf_bases
[
i
]),
ide_setup_ports
(
&
hw
,
(
buddha_board
+
xsurf_bases
[
i
]),
xsurf_offsets
,
0
,
(
ide_ioreg_t
)(
buddha_board
+
xsurf_irqports
[
i
]),
(
buddha_board
+
xsurf_irqports
[
i
]),
xsurf_ack_intr
,
// xsurf_iops,
IRQ_AMIGA_PORTS
);
...
...
drivers/ide/legacy/dtc2278.c
View file @
67c6746d
/*
* linux/drivers/ide/dtc2278.c Version 0.02 Feb 10, 1996
* linux/drivers/ide/
legacy/
dtc2278.c Version 0.02 Feb 10, 1996
*
* Copyright (C) 1996 Linus Torvalds & author (see below)
*/
...
...
drivers/ide/legacy/falconide.c
View file @
67c6746d
/*
* linux/drivers/ide/falconide.c -- Atari Falcon IDE Driver
* linux/drivers/ide/
legacy/
falconide.c -- Atari Falcon IDE Driver
*
* Created 12 Jul 1997 by Geert Uytterhoeven
*
...
...
@@ -66,7 +66,7 @@ void __init falconide_init(void)
hw_regs_t
hw
;
int
index
;
ide_setup_ports
(
&
hw
,
(
ide_ioreg_t
)
ATA_HD_BASE
,
falconide_offsets
,
ide_setup_ports
(
&
hw
,
ATA_HD_BASE
,
falconide_offsets
,
0
,
0
,
NULL
,
// falconide_iops,
IRQ_MFP_IDE
);
...
...
drivers/ide/legacy/gayle.c
View file @
67c6746d
/*
* linux/drivers/ide/gayle.c -- Amiga Gayle IDE Driver
* linux/drivers/ide/
legacy/
gayle.c -- Amiga Gayle IDE Driver
*
* Created 9 Jul 1997 by Geert Uytterhoeven
*
...
...
@@ -122,7 +122,7 @@ void __init gayle_init(void)
return
;
for
(
i
=
0
;
i
<
GAYLE_NUM_PROBE_HWIFS
;
i
++
)
{
ide_ioreg_t
base
,
ctrlport
,
irqport
;
unsigned
long
base
,
ctrlport
,
irqport
;
ide_ack_intr_t
*
ack_intr
;
hw_regs_t
hw
;
int
index
;
...
...
@@ -130,11 +130,11 @@ void __init gayle_init(void)
if
(
a4000
)
{
phys_base
=
GAYLE_BASE_4000
;
irqport
=
(
ide_ioreg_t
)
ZTWO_VADDR
(
GAYLE_IRQ_4000
);
irqport
=
(
unsigned
long
)
ZTWO_VADDR
(
GAYLE_IRQ_4000
);
ack_intr
=
gayle_ack_intr_a4000
;
}
else
{
phys_base
=
GAYLE_BASE_1200
;
irqport
=
(
ide_ioreg_t
)
ZTWO_VADDR
(
GAYLE_IRQ_1200
);
irqport
=
(
unsigned
long
)
ZTWO_VADDR
(
GAYLE_IRQ_1200
);
ack_intr
=
gayle_ack_intr_a1200
;
}
/*
...
...
@@ -149,7 +149,7 @@ void __init gayle_init(void)
if
(
!
request_mem_region
(
res_start
,
res_n
,
"IDE"
))
continue
;
base
=
(
ide_ioreg_t
)
ZTWO_VADDR
(
phys_base
);
base
=
(
unsigned
long
)
ZTWO_VADDR
(
phys_base
);
ctrlport
=
GAYLE_HAS_CONTROL_REG
?
(
base
+
GAYLE_CONTROL
)
:
0
;
ide_setup_ports
(
&
hw
,
base
,
gayle_offsets
,
...
...
drivers/ide/legacy/ht6560b.c
View file @
67c6746d
/*
* linux/drivers/ide/ht6560b.c Version 0.07 Feb 1, 2000
* linux/drivers/ide/
legacy/
ht6560b.c Version 0.07 Feb 1, 2000
*
* Copyright (C) 1995-2000 Linus Torvalds & author (see below)
*/
...
...
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