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
02497622
Commit
02497622
authored
Jun 04, 2003
by
Bruce D. Elliott
Committed by
Ben Collins
Jun 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix transmit handling in sunsab.c serial driver.
parent
8a36b98f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
drivers/serial/sunsab.c
drivers/serial/sunsab.c
+3
-0
No files found.
drivers/serial/sunsab.c
View file @
02497622
...
@@ -231,8 +231,10 @@ static void transmit_chars(struct uart_sunsab_port *up,
...
@@ -231,8 +231,10 @@ static void transmit_chars(struct uart_sunsab_port *up,
set_bit
(
SAB82532_ALLS
,
&
up
->
irqflags
);
set_bit
(
SAB82532_ALLS
,
&
up
->
irqflags
);
}
}
#if 0 /* bde@nwlink.com says this check causes problems */
if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR))
if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR))
return;
return;
#endif
if
(
!
(
readb
(
&
up
->
regs
->
r
.
star
)
&
SAB82532_STAR_XFW
))
if
(
!
(
readb
(
&
up
->
regs
->
r
.
star
)
&
SAB82532_STAR_XFW
))
return
;
return
;
...
@@ -242,6 +244,7 @@ static void transmit_chars(struct uart_sunsab_port *up,
...
@@ -242,6 +244,7 @@ static void transmit_chars(struct uart_sunsab_port *up,
if
(
uart_circ_empty
(
xmit
)
||
uart_tx_stopped
(
&
up
->
port
))
{
if
(
uart_circ_empty
(
xmit
)
||
uart_tx_stopped
(
&
up
->
port
))
{
up
->
interrupt_mask1
|=
SAB82532_IMR1_XPR
;
up
->
interrupt_mask1
|=
SAB82532_IMR1_XPR
;
writeb
(
up
->
interrupt_mask1
,
&
up
->
regs
->
w
.
imr1
);
writeb
(
up
->
interrupt_mask1
,
&
up
->
regs
->
w
.
imr1
);
uart_write_wakeup
(
&
up
->
port
);
return
;
return
;
}
}
...
...
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