Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
Clea OS
bsp
nxp
linux-seco-imx
Commits
b3e112bc
Commit
b3e112bc
authored
19 years ago
by
Linus Torvalds
Browse files
Options
Downloads
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-serial
parents
f647a274
0a8b80c5
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
drivers/serial/8250.c
+5
-5
5 additions, 5 deletions
drivers/serial/8250.c
drivers/serial/au1x00_uart.c
+5
-5
5 additions, 5 deletions
drivers/serial/au1x00_uart.c
drivers/serial/m32r_sio.c
+5
-5
5 additions, 5 deletions
drivers/serial/m32r_sio.c
drivers/serial/pxa.c
+5
-5
5 additions, 5 deletions
drivers/serial/pxa.c
with
20 additions
and
20 deletions
drivers/serial/8250.c
+
5
−
5
View file @
b3e112bc
...
@@ -1682,22 +1682,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios,
...
@@ -1682,22 +1682,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
break
;
case
CS6
:
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
break
;
case
CS7
:
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
break
;
default:
default:
case
CS8
:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
break
;
}
}
if
(
termios
->
c_cflag
&
CSTOPB
)
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
This diff is collapsed.
Click to expand it.
drivers/serial/au1x00_uart.c
+
5
−
5
View file @
b3e112bc
...
@@ -773,22 +773,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios,
...
@@ -773,22 +773,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
break
;
case
CS6
:
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
break
;
case
CS7
:
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
break
;
default:
default:
case
CS8
:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
break
;
}
}
if
(
termios
->
c_cflag
&
CSTOPB
)
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
This diff is collapsed.
Click to expand it.
drivers/serial/m32r_sio.c
+
5
−
5
View file @
b3e112bc
...
@@ -724,22 +724,22 @@ static void m32r_sio_set_termios(struct uart_port *port,
...
@@ -724,22 +724,22 @@ static void m32r_sio_set_termios(struct uart_port *port,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
break
;
case
CS6
:
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
break
;
case
CS7
:
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
break
;
default:
default:
case
CS8
:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
break
;
}
}
if
(
termios
->
c_cflag
&
CSTOPB
)
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
This diff is collapsed.
Click to expand it.
drivers/serial/pxa.c
+
5
−
5
View file @
b3e112bc
...
@@ -455,22 +455,22 @@ serial_pxa_set_termios(struct uart_port *port, struct termios *termios,
...
@@ -455,22 +455,22 @@ serial_pxa_set_termios(struct uart_port *port, struct termios *termios,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
break
;
case
CS6
:
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
break
;
case
CS7
:
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
break
;
default:
default:
case
CS8
:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
break
;
}
}
if
(
termios
->
c_cflag
&
CSTOPB
)
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
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