Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
5c1ca65c
Commit
5c1ca65c
authored
Feb 24, 2006
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-serial
parents
c946160e
d856c666
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
drivers/serial/8250.c
drivers/serial/8250.c
+6
-0
include/linux/serial_reg.h
include/linux/serial_reg.h
+2
-2
No files found.
drivers/serial/8250.c
View file @
5c1ca65c
...
@@ -2326,6 +2326,12 @@ static struct uart_driver serial8250_reg = {
...
@@ -2326,6 +2326,12 @@ static struct uart_driver serial8250_reg = {
.
cons
=
SERIAL8250_CONSOLE
,
.
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
)
int
__init
early_serial_setup
(
struct
uart_port
*
port
)
{
{
if
(
port
->
line
>=
ARRAY_SIZE
(
serial8250_ports
))
if
(
port
->
line
>=
ARRAY_SIZE
(
serial8250_ports
))
...
...
include/linux/serial_reg.h
View file @
5c1ca65c
...
@@ -247,10 +247,10 @@
...
@@ -247,10 +247,10 @@
#define UART_CTR 0xFF
#define UART_CTR 0xFF
/*
/*
* The 16C950 Additional Control Re
ig
ster
* The 16C950 Additional Control Re
gi
ster
*/
*/
#define UART_ACR_RXDIS 0x01
/* Receiver disable */
#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_DSRFC 0x04
/* DSR Flow Control */
#define UART_ACR_TLENB 0x20
/* 950 trigger levels enable */
#define UART_ACR_TLENB 0x20
/* 950 trigger levels enable */
#define UART_ACR_ICRRD 0x40
/* ICR Read enable */
#define UART_ACR_ICRRD 0x40
/* ICR Read enable */
...
...
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