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
cb472547
Commit
cb472547
authored
Jul 21, 2002
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Update the Motorola LoPEC platform to work with CONFIG_VT.
parent
673a5bd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
arch/ppc/platforms/lopec_setup.c
arch/ppc/platforms/lopec_setup.c
+13
-0
No files found.
arch/ppc/platforms/lopec_setup.c
View file @
cb472547
...
@@ -34,9 +34,14 @@
...
@@ -34,9 +34,14 @@
#include <asm/mpc10x.h>
#include <asm/mpc10x.h>
#include <asm/hw_irq.h>
#include <asm/hw_irq.h>
#include <asm/prep_nvram.h>
#include <asm/prep_nvram.h>
#include <asm/keyboard.h>
extern
char
saved_command_line
[];
extern
char
saved_command_line
[];
extern
void
lopec_find_bridges
(
void
);
extern
void
lopec_find_bridges
(
void
);
extern
int
pckbd_translate
(
unsigned
char
scancode
,
unsigned
char
*
keycode
,
char
raw_mode
);
extern
char
pckbd_unexpected_up
(
unsigned
char
keycode
);
extern
unsigned
char
pckbd_sysrq_xlate
[
128
];
/*
/*
* Define all of the IRQ senses and polarities. Taken from the
* Define all of the IRQ senses and polarities. Taken from the
...
@@ -379,6 +384,14 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
...
@@ -379,6 +384,14 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
ppc_md
.
find_end_of_memory
=
lopec_find_end_of_memory
;
ppc_md
.
find_end_of_memory
=
lopec_find_end_of_memory
;
ppc_md
.
setup_io_mappings
=
lopec_map_io
;
ppc_md
.
setup_io_mappings
=
lopec_map_io
;
#ifdef CONFIG_VT
ppc_md
.
kbd_translate
=
pckbd_translate
;
ppc_md
.
kbd_unexpected_up
=
pckbd_unexpected_up
;
#ifdef CONFIG_MAGIC_SYSRQ
ppc_md
.
ppc_kbd_sysrq_xlate
=
pckbd_sysrq_xlate
;
#endif
/* CONFIG_MAGIC_SYSRQ */
#endif
/* CONFIG_VT */
ppc_md
.
time_init
=
todc_time_init
;
ppc_md
.
time_init
=
todc_time_init
;
ppc_md
.
set_rtc_time
=
todc_set_rtc_time
;
ppc_md
.
set_rtc_time
=
todc_set_rtc_time
;
ppc_md
.
get_rtc_time
=
todc_get_rtc_time
;
ppc_md
.
get_rtc_time
=
todc_get_rtc_time
;
...
...
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