Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martyn Welch
linux
Commits
5c1ca65c
Commit
5c1ca65c
authored
19 years ago
by
Linus Torvalds
Browse files
Options
Downloads
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-serial
parents
c946160e
d856c666
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/serial/8250.c
+6
-0
6 additions, 0 deletions
drivers/serial/8250.c
include/linux/serial_reg.h
+2
-2
2 additions, 2 deletions
include/linux/serial_reg.h
with
8 additions
and
2 deletions
drivers/serial/8250.c
+
6
−
0
View file @
5c1ca65c
...
...
@@ -2326,6 +2326,12 @@ static struct uart_driver serial8250_reg = {
.
cons
=
SERIAL8250_CONSOLE
,
};
/*
* early_serial_setup - early registration for 8250 ports
*
* Setup an 8250 port structure prior to console initialisation. Use
* after console initialisation will cause undefined behaviour.
*/
int
__init
early_serial_setup
(
struct
uart_port
*
port
)
{
if
(
port
->
line
>=
ARRAY_SIZE
(
serial8250_ports
))
...
...
This diff is collapsed.
Click to expand it.
include/linux/serial_reg.h
+
2
−
2
View file @
5c1ca65c
...
...
@@ -247,10 +247,10 @@
#define UART_CTR 0xFF
/*
* The 16C950 Additional Control Re
i
gster
* The 16C950 Additional Control Reg
i
ster
*/
#define UART_ACR_RXDIS 0x01
/* Receiver disable */
#define UART_ACR_TXDIS 0x02
/*
Receiv
er disable */
#define UART_ACR_TXDIS 0x02
/*
Transmitt
er disable */
#define UART_ACR_DSRFC 0x04
/* DSR Flow Control */
#define UART_ACR_TLENB 0x20
/* 950 trigger levels enable */
#define UART_ACR_ICRRD 0x40
/* ICR Read enable */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment