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
757f828d
Commit
757f828d
authored
Aug 26, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Automerge
parents
4167efcd
6088b2bf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
29 deletions
+6
-29
drivers/char/Config.in
drivers/char/Config.in
+3
-0
drivers/char/Makefile
drivers/char/Makefile
+2
-22
drivers/char/console.c
drivers/char/console.c
+1
-7
No files found.
drivers/char/Config.in
View file @
757f828d
...
@@ -8,6 +8,9 @@ bool 'Virtual terminal' CONFIG_VT
...
@@ -8,6 +8,9 @@ bool 'Virtual terminal' CONFIG_VT
if [ "$CONFIG_VT" = "y" ]; then
if [ "$CONFIG_VT" = "y" ]; then
bool ' Support for console on virtual terminal' CONFIG_VT_CONSOLE
bool ' Support for console on virtual terminal' CONFIG_VT_CONSOLE
fi
fi
if [ "$CONFIG_VT" = "y" -a "$CONFIG_S390" != "y" -a "$CONFIG_UM" != "y" ]; then
define_bool CONFIG_HW_CONSOLE y
fi
bool 'Non-standard serial port support' CONFIG_SERIAL_NONSTANDARD
bool 'Non-standard serial port support' CONFIG_SERIAL_NONSTANDARD
if [ "$CONFIG_SERIAL_NONSTANDARD" = "y" ]; then
if [ "$CONFIG_SERIAL_NONSTANDARD" = "y" ]; then
tristate ' Computone IntelliPort Plus serial support' CONFIG_COMPUTONE
tristate ' Computone IntelliPort Plus serial support' CONFIG_COMPUTONE
...
...
drivers/char/Makefile
View file @
757f828d
...
@@ -17,28 +17,8 @@ export-objs := busmouse.o console.o keyboard.o sysrq.o \
...
@@ -17,28 +17,8 @@ export-objs := busmouse.o console.o keyboard.o sysrq.o \
sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o
\
sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o
\
ip2main.o
ip2main.o
ifneq
($(ARCH),s390)
obj-$(CONFIG_VT)
+=
vt.o vc_screen.o consolemap.o consolemap_deftbl.o selection.o keyboard.o
ifneq
($(ARCH),s390x)
obj-$(CONFIG_HW_CONSOLE)
+=
console.o defkeymap.o
ifneq
($(ARCH),um)
KEYMAP
=
defkeymap.o
CONSOLE
=
console.o
endif
endif
endif
ifdef
CONFIG_Q40
SERIAL
=
serial.o
endif
ifeq
($(CONFIG_DECSTATION),y)
SERIAL
=
decserial.o
endif
obj-$(CONFIG_VT)
+=
vt.o vc_screen.o consolemap.o consolemap_deftbl.o
$(CONSOLE)
selection.o
#obj-$(CONFIG_SERIAL) += $(SERIAL) # Fix for decserial.o
obj-$(CONFIG_VT)
+=
keyboard.o
$(KEYMAP)
obj-$(CONFIG_MAGIC_SYSRQ)
+=
sysrq.o
obj-$(CONFIG_MAGIC_SYSRQ)
+=
sysrq.o
obj-$(CONFIG_ATARI_DSP56K)
+=
dsp56k.o
obj-$(CONFIG_ATARI_DSP56K)
+=
dsp56k.o
obj-$(CONFIG_ROCKETPORT)
+=
rocket.o
obj-$(CONFIG_ROCKETPORT)
+=
rocket.o
...
...
drivers/char/console.c
View file @
757f828d
...
@@ -128,10 +128,6 @@ const struct consw *conswitchp;
...
@@ -128,10 +128,6 @@ const struct consw *conswitchp;
extern
void
vcs_make_devfs
(
unsigned
int
index
,
int
unregister
);
extern
void
vcs_make_devfs
(
unsigned
int
index
,
int
unregister
);
extern
void
console_map_init
(
void
);
extern
void
console_map_init
(
void
);
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
static
struct
tty_struct
*
console_table
[
MAX_NR_CONSOLES
];
static
struct
tty_struct
*
console_table
[
MAX_NR_CONSOLES
];
static
struct
termios
*
console_termios
[
MAX_NR_CONSOLES
];
static
struct
termios
*
console_termios
[
MAX_NR_CONSOLES
];
static
struct
termios
*
console_termios_locked
[
MAX_NR_CONSOLES
];
static
struct
termios
*
console_termios_locked
[
MAX_NR_CONSOLES
];
...
@@ -748,7 +744,7 @@ int vc_resize(unsigned int lines, unsigned int cols,
...
@@ -748,7 +744,7 @@ int vc_resize(unsigned int lines, unsigned int cols,
video_size_row
=
sr
;
video_size_row
=
sr
;
screenbuf_size
=
ss
;
screenbuf_size
=
ss
;
rlth
=
MIN
(
osr
,
sr
);
rlth
=
min
(
osr
,
sr
);
rrem
=
sr
-
rlth
;
rrem
=
sr
-
rlth
;
ol
=
origin
;
ol
=
origin
;
nl
=
(
long
)
newscreens
[
currcons
];
nl
=
(
long
)
newscreens
[
currcons
];
...
@@ -3028,9 +3024,7 @@ EXPORT_SYMBOL(video_scan_lines);
...
@@ -3028,9 +3024,7 @@ EXPORT_SYMBOL(video_scan_lines);
EXPORT_SYMBOL
(
vc_resize
);
EXPORT_SYMBOL
(
vc_resize
);
EXPORT_SYMBOL
(
fg_console
);
EXPORT_SYMBOL
(
fg_console
);
EXPORT_SYMBOL
(
console_blank_hook
);
EXPORT_SYMBOL
(
console_blank_hook
);
#ifdef CONFIG_VT
EXPORT_SYMBOL
(
vt_cons
);
EXPORT_SYMBOL
(
vt_cons
);
#endif
#ifndef VT_SINGLE_DRIVER
#ifndef VT_SINGLE_DRIVER
EXPORT_SYMBOL
(
take_over_console
);
EXPORT_SYMBOL
(
take_over_console
);
EXPORT_SYMBOL
(
give_up_console
);
EXPORT_SYMBOL
(
give_up_console
);
...
...
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