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
25bf368b
Commit
25bf368b
authored
Feb 10, 2006
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-serial
parents
0825c5d0
fd401aee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
drivers/serial/ioc4_serial.c
drivers/serial/ioc4_serial.c
+0
-14
No files found.
drivers/serial/ioc4_serial.c
View file @
25bf368b
...
@@ -1717,11 +1717,9 @@ ioc4_change_speed(struct uart_port *the_port,
...
@@ -1717,11 +1717,9 @@ ioc4_change_speed(struct uart_port *the_port,
}
}
if
(
cflag
&
CRTSCTS
)
{
if
(
cflag
&
CRTSCTS
)
{
info
->
flags
|=
ASYNC_CTS_FLOW
;
port
->
ip_sscr
|=
IOC4_SSCR_HFC_EN
;
port
->
ip_sscr
|=
IOC4_SSCR_HFC_EN
;
}
}
else
{
else
{
info
->
flags
&=
~
ASYNC_CTS_FLOW
;
port
->
ip_sscr
&=
~
IOC4_SSCR_HFC_EN
;
port
->
ip_sscr
&=
~
IOC4_SSCR_HFC_EN
;
}
}
writel
(
port
->
ip_sscr
,
&
port
->
ip_serial_regs
->
sscr
);
writel
(
port
->
ip_sscr
,
&
port
->
ip_serial_regs
->
sscr
);
...
@@ -1760,18 +1758,6 @@ static inline int ic4_startup_local(struct uart_port *the_port)
...
@@ -1760,18 +1758,6 @@ static inline int ic4_startup_local(struct uart_port *the_port)
info
=
the_port
->
info
;
info
=
the_port
->
info
;
if
(
info
->
tty
)
{
set_bit
(
TTY_IO_ERROR
,
&
info
->
tty
->
flags
);
clear_bit
(
TTY_IO_ERROR
,
&
info
->
tty
->
flags
);
if
((
info
->
flags
&
ASYNC_SPD_MASK
)
==
ASYNC_SPD_HI
)
info
->
tty
->
alt_speed
=
57600
;
if
((
info
->
flags
&
ASYNC_SPD_MASK
)
==
ASYNC_SPD_VHI
)
info
->
tty
->
alt_speed
=
115200
;
if
((
info
->
flags
&
ASYNC_SPD_MASK
)
==
ASYNC_SPD_SHI
)
info
->
tty
->
alt_speed
=
230400
;
if
((
info
->
flags
&
ASYNC_SPD_MASK
)
==
ASYNC_SPD_WARP
)
info
->
tty
->
alt_speed
=
460800
;
}
local_open
(
port
);
local_open
(
port
);
/* set the speed of the serial port */
/* set the speed of the serial port */
...
...
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