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
Kirill Smelkov
linux
Commits
ae1b4721
Commit
ae1b4721
authored
Apr 17, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Remove check_region()
parent
3b322077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
drivers/serial/8250.c
drivers/serial/8250.c
+3
-5
No files found.
drivers/serial/8250.c
View file @
ae1b4721
...
@@ -688,11 +688,9 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
...
@@ -688,11 +688,9 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
for
(
i
=
0
;
i
<
PORT_RSA_MAX
;
++
i
)
{
for
(
i
=
0
;
i
<
PORT_RSA_MAX
;
++
i
)
{
if
(
!
probe_rsa
[
i
]
&&
!
force_rsa
[
i
])
if
(
!
probe_rsa
[
i
]
&&
!
force_rsa
[
i
])
break
;
break
;
if
(((
probe_rsa
[
i
]
!=
up
->
port
.
iobase
)
||
if
((
probe_rsa
[
i
]
==
up
->
port
.
iobase
||
check_region
(
up
->
port
.
iobase
+
UART_RSA_BASE
,
16
))
&&
force_rsa
[
i
]
==
up
->
port
.
iobase
)
&&
(
force_rsa
[
i
]
!=
up
->
port
.
iobase
))
__enable_rsa
(
up
))
{
continue
;
if
(
__enable_rsa
(
up
))
{
up
->
port
.
type
=
PORT_RSA
;
up
->
port
.
type
=
PORT_RSA
;
break
;
break
;
}
}
...
...
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