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
48978055
Commit
48978055
authored
Dec 27, 2002
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Dec 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Sun-3 serial
Remove Sun-3/3x serial support, use the new serial layer instead
parent
33dfd4fe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
56 deletions
+1
-56
arch/m68k/Kconfig
arch/m68k/Kconfig
+1
-43
arch/m68k/kernel/setup.c
arch/m68k/kernel/setup.c
+0
-3
arch/m68k/sun3/config.c
arch/m68k/sun3/config.c
+0
-5
arch/m68k/sun3/sbus.c
arch/m68k/sun3/sbus.c
+0
-5
No files found.
arch/m68k/Kconfig
View file @
48978055
...
@@ -2070,48 +2070,6 @@ config HPDCA
...
@@ -2070,48 +2070,6 @@ config HPDCA
If you want to use the internal "DCA" serial ports on an HP300
If you want to use the internal "DCA" serial ports on an HP300
machine, say Y here.
machine, say Y here.
config SUN3X_ZS
bool "Sun3/3x builtin serial support"
depends on SUN3 || SUN3X
help
ZS refers to a type of asynchronous serial port built in to the Sun3
and Sun3x workstations; if you have a Sun 3, you probably have
these. Say 'Y' to support ZS ports directly. This option must be
enabled in order to support the
keyboard and mouse ports.
config SUN_KEYBOARD
bool
depends on SUN3X_ZS
default y
help
Say Y here to support the keyboard found on Sun 3 and 3x
workstations. It can also be used support Sun Type-5 keyboards
through an adaptor. See
<http://www.suse.cz/development/input/adapters.html> and
<http://sourceforge.net/projects/linuxconsole/> for details on the
latter.
config SUN_MOUSE
bool
depends on SUN3X_ZS
default y
config SBUS
bool
depends on SUN3X_ZS
default y
config SBUSCHAR
bool
depends on SUN3X_ZS
default y
config SUN_SERIAL
bool
depends on SUN3X_ZS
default y
config MVME147_SCC
config MVME147_SCC
bool "SCC support for MVME147 serial ports"
bool "SCC support for MVME147 serial ports"
depends on MVME147
depends on MVME147
...
@@ -2148,7 +2106,7 @@ config DN_SERIAL
...
@@ -2148,7 +2106,7 @@ config DN_SERIAL
config SERIAL_CONSOLE
config SERIAL_CONSOLE
bool "Support for serial port console"
bool "Support for serial port console"
depends on (AMIGA || ATARI || MAC || HP300 || SUN3 || SUN3X || VME || APOLLO) && (ATARI_MFPSER=y || ATARI_SCC=y || ATARI_MIDI=y || MAC_SCC=y || AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y || HPDCA=y || S
UN3X_ZS || S
ERIAL=y || MVME147_SCC || SERIAL167 || MVME162_SCC || BVME6000_SCC || DN_SERIAL)
depends on (AMIGA || ATARI || MAC || HP300 || SUN3 || SUN3X || VME || APOLLO) && (ATARI_MFPSER=y || ATARI_SCC=y || ATARI_MIDI=y || MAC_SCC=y || AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y || HPDCA=y || SERIAL=y || MVME147_SCC || SERIAL167 || MVME162_SCC || BVME6000_SCC || DN_SERIAL)
---help---
---help---
If you say Y here, it will be possible to use a serial port as the
If you say Y here, it will be possible to use a serial port as the
system console (the system console is the device which receives all
system console (the system console is the device which receives all
...
...
arch/m68k/kernel/setup.c
View file @
48978055
...
@@ -380,9 +380,6 @@ void __init setup_arch(char **cmdline_p)
...
@@ -380,9 +380,6 @@ void __init setup_arch(char **cmdline_p)
#ifdef CONFIG_SUN3X
#ifdef CONFIG_SUN3X
if
(
MACH_IS_SUN3X
)
{
if
(
MACH_IS_SUN3X
)
{
dvma_init
();
dvma_init
();
#ifdef CONFIG_SUN3X_ZS
sun_serial_setup
();
#endif
}
}
#endif
#endif
...
...
arch/m68k/sun3/config.c
View file @
48978055
...
@@ -42,7 +42,6 @@ extern void sun3_get_model (char* model);
...
@@ -42,7 +42,6 @@ extern void sun3_get_model (char* model);
extern
void
idprom_init
(
void
);
extern
void
idprom_init
(
void
);
extern
int
sun3_hwclk
(
int
set
,
struct
rtc_time
*
t
);
extern
int
sun3_hwclk
(
int
set
,
struct
rtc_time
*
t
);
extern
void
sun_serial_setup
(
void
);
volatile
char
*
clock_va
;
volatile
char
*
clock_va
;
extern
volatile
unsigned
char
*
sun3_intreg
;
extern
volatile
unsigned
char
*
sun3_intreg
;
extern
unsigned
long
availmem
;
extern
unsigned
long
availmem
;
...
@@ -173,10 +172,6 @@ void __init config_sun3(void)
...
@@ -173,10 +172,6 @@ void __init config_sun3(void)
m68k_memory
[
0
].
size
=*
(
romvec
->
pv_sun3mem
);
m68k_memory
[
0
].
size
=*
(
romvec
->
pv_sun3mem
);
sun3_bootmem_alloc
(
memory_start
,
memory_end
);
sun3_bootmem_alloc
(
memory_start
,
memory_end
);
#ifdef CONFIG_SUN3X_ZS
sun_serial_setup
();
#endif
}
}
void
__init
sun3_sched_init
(
void
(
*
timer_routine
)(
int
,
void
*
,
struct
pt_regs
*
))
void
__init
sun3_sched_init
(
void
(
*
timer_routine
)(
int
,
void
*
,
struct
pt_regs
*
))
...
...
arch/m68k/sun3/sbus.c
View file @
48978055
...
@@ -12,13 +12,8 @@
...
@@ -12,13 +12,8 @@
#include <linux/types.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/init.h>
extern
void
rs_init
(
void
);
int
__init
sbus_init
(
void
)
int
__init
sbus_init
(
void
)
{
{
rs_init
();
return
0
;
return
0
;
}
}
...
...
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