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
757f828d
Commit
757f828d
authored
Aug 26, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Automerge
parents
4167efcd
6088b2bf
Changes
3
Hide 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
if [ "$CONFIG_VT" = "y" ]; then
bool ' Support for console on virtual terminal' CONFIG_VT_CONSOLE
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
if [ "$CONFIG_SERIAL_NONSTANDARD" = "y" ]; then
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 \
sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o
\
ip2main.o
ifneq
($(ARCH),s390)
ifneq
($(ARCH),s390x)
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_VT)
+=
vt.o vc_screen.o consolemap.o consolemap_deftbl.o selection.o keyboard.o
obj-$(CONFIG_HW_CONSOLE)
+=
console.o defkeymap.o
obj-$(CONFIG_MAGIC_SYSRQ)
+=
sysrq.o
obj-$(CONFIG_ATARI_DSP56K)
+=
dsp56k.o
obj-$(CONFIG_ROCKETPORT)
+=
rocket.o
...
...
drivers/char/console.c
View file @
757f828d
...
...
@@ -128,10 +128,6 @@ const struct consw *conswitchp;
extern
void
vcs_make_devfs
(
unsigned
int
index
,
int
unregister
);
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
termios
*
console_termios
[
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,
video_size_row
=
sr
;
screenbuf_size
=
ss
;
rlth
=
MIN
(
osr
,
sr
);
rlth
=
min
(
osr
,
sr
);
rrem
=
sr
-
rlth
;
ol
=
origin
;
nl
=
(
long
)
newscreens
[
currcons
];
...
...
@@ -3028,9 +3024,7 @@ EXPORT_SYMBOL(video_scan_lines);
EXPORT_SYMBOL
(
vc_resize
);
EXPORT_SYMBOL
(
fg_console
);
EXPORT_SYMBOL
(
console_blank_hook
);
#ifdef CONFIG_VT
EXPORT_SYMBOL
(
vt_cons
);
#endif
#ifndef VT_SINGLE_DRIVER
EXPORT_SYMBOL
(
take_over_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