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
b3e112bc
Commit
b3e112bc
authored
Jun 24, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-serial
parents
f647a274
0a8b80c5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
drivers/serial/8250.c
drivers/serial/8250.c
+5
-5
drivers/serial/au1x00_uart.c
drivers/serial/au1x00_uart.c
+5
-5
drivers/serial/m32r_sio.c
drivers/serial/m32r_sio.c
+5
-5
drivers/serial/pxa.c
drivers/serial/pxa.c
+5
-5
No files found.
drivers/serial/8250.c
View file @
b3e112bc
...
...
@@ -1682,22 +1682,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
default:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
}
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
drivers/serial/au1x00_uart.c
View file @
b3e112bc
...
...
@@ -773,22 +773,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
default:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
}
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
drivers/serial/m32r_sio.c
View file @
b3e112bc
...
...
@@ -724,22 +724,22 @@ static void m32r_sio_set_termios(struct uart_port *port,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
default:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
}
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
drivers/serial/pxa.c
View file @
b3e112bc
...
...
@@ -455,22 +455,22 @@ serial_pxa_set_termios(struct uart_port *port, struct termios *termios,
switch
(
termios
->
c_cflag
&
CSIZE
)
{
case
CS5
:
cval
=
0x00
;
cval
=
UART_LCR_WLEN5
;
break
;
case
CS6
:
cval
=
0x01
;
cval
=
UART_LCR_WLEN6
;
break
;
case
CS7
:
cval
=
0x02
;
cval
=
UART_LCR_WLEN7
;
break
;
default:
case
CS8
:
cval
=
0x03
;
cval
=
UART_LCR_WLEN8
;
break
;
}
if
(
termios
->
c_cflag
&
CSTOPB
)
cval
|=
0x04
;
cval
|=
UART_LCR_STOP
;
if
(
termios
->
c_cflag
&
PARENB
)
cval
|=
UART_LCR_PARITY
;
if
(
!
(
termios
->
c_cflag
&
PARODD
))
...
...
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