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
996ec8c3
Commit
996ec8c3
authored
Jan 08, 2003
by
James Morris
Committed by
David S. Miller
Jan 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUNSAB]: Comment out powering down of chip for now.
parent
cd8d109f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
drivers/serial/sunsab.c
drivers/serial/sunsab.c
+12
-0
No files found.
drivers/serial/sunsab.c
View file @
996ec8c3
...
@@ -583,10 +583,22 @@ static void sunsab_shutdown(struct uart_port *port)
...
@@ -583,10 +583,22 @@ static void sunsab_shutdown(struct uart_port *port)
tmp
&=
~
SAB82532_MODE_RAC
;
tmp
&=
~
SAB82532_MODE_RAC
;
writeb
(
tmp
,
&
up
->
regs
->
rw
.
mode
);
writeb
(
tmp
,
&
up
->
regs
->
rw
.
mode
);
/*
* XXX FIXME
*
* If the chip is powered down here the system hangs/crashes during
* reboot or shutdown. This needs to be investigated further,
* similar behaviour occurs in 2.4 when the driver is configured
* as a module only. One hint may be that data is sometimes
* transmitted at 9600 baud during shutdown (regardless of the
* speed the chip was configured for when the port was open).
*/
#if 0
/* Power Down */
/* Power Down */
tmp = readb(&up->regs->rw.ccr0);
tmp = readb(&up->regs->rw.ccr0);
tmp &= ~SAB82532_CCR0_PU;
tmp &= ~SAB82532_CCR0_PU;
writeb(tmp, &up->regs->rw.ccr0);
writeb(tmp, &up->regs->rw.ccr0);
#endif
spin_unlock_irqrestore
(
&
up
->
port
.
lock
,
flags
);
spin_unlock_irqrestore
(
&
up
->
port
.
lock
,
flags
);
}
}
...
...
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