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
fcc94683
Commit
fcc94683
authored
Mar 24, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Fix ide_init_hwif_ports for powermac.
parent
bc5cba36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
arch/ppc/platforms/pmac_setup.c
arch/ppc/platforms/pmac_setup.c
+10
-2
No files found.
arch/ppc/platforms/pmac_setup.c
View file @
fcc94683
...
...
@@ -81,8 +81,9 @@ extern void pmac_read_rtc_time(void);
extern
void
pmac_calibrate_decr
(
void
);
extern
void
pmac_pcibios_fixup
(
void
);
extern
void
pmac_find_bridges
(
void
);
extern
int
pmac_ide_check_base
(
ide_ioreg_t
base
);
extern
ide_ioreg_t
pmac_ide_get_base
(
int
index
);
extern
unsigned
long
pmac_ide_get_base
(
int
index
);
extern
void
pmac_ide_init_hwif_ports
(
hw_regs_t
*
hw
,
unsigned
long
data_port
,
unsigned
long
ctrl_port
,
int
*
irq
);
extern
void
pmac_nvram_update
(
void
);
extern
unsigned
char
pmac_nvram_read_byte
(
int
addr
);
...
...
@@ -630,6 +631,13 @@ pmac_init(unsigned long r3, unsigned long r4, unsigned long r5,
ppc_md
.
feature_call
=
pmac_do_feature_call
;
#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE)
#ifdef CONFIG_BLK_DEV_IDE_PMAC
ppc_ide_md
.
ide_init_hwif
=
pmac_ide_init_hwif_ports
;
ppc_ide_md
.
default_io_base
=
pmac_ide_get_base
;
#endif
/* CONFIG_BLK_DEV_IDE_PMAC */
#endif
/* defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) */
#ifdef CONFIG_BOOTX_TEXT
ppc_md
.
progress
=
pmac_progress
;
#endif
/* CONFIG_BOOTX_TEXT */
...
...
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