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
8c6f6b0b
Commit
8c6f6b0b
authored
Apr 02, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] printk levels for vme_scc driver
parent
6c26f9e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
drivers/char/vme_scc.c
drivers/char/vme_scc.c
+7
-7
No files found.
drivers/char/vme_scc.c
View file @
8c6f6b0b
...
...
@@ -214,7 +214,7 @@ static int mvme147_scc_init(void)
{
struct
scc_port
*
port
;
printk
(
"SCC: MVME147 Serial Driver
\n
"
);
printk
(
KERN_INFO
"SCC: MVME147 Serial Driver
\n
"
);
/* Init channel A */
port
=
&
scc_ports
[
0
];
port
->
channel
=
CHANNEL_A
;
...
...
@@ -284,7 +284,7 @@ static int mvme162_scc_init(void)
if
(
!
(
mvme16x_config
&
MVME16x_CONFIG_GOT_SCCA
))
return
(
-
ENODEV
);
printk
(
"SCC: MVME162 Serial Driver
\n
"
);
printk
(
KERN_INFO
"SCC: MVME162 Serial Driver
\n
"
);
/* Init channel A */
port
=
&
scc_ports
[
0
];
port
->
channel
=
CHANNEL_A
;
...
...
@@ -352,7 +352,7 @@ static int bvme6000_scc_init(void)
{
struct
scc_port
*
port
;
printk
(
"SCC: BVME6000 Serial Driver
\n
"
);
printk
(
KERN_INFO
"SCC: BVME6000 Serial Driver
\n
"
);
/* Init channel A */
port
=
&
scc_ports
[
0
];
port
->
channel
=
CHANNEL_A
;
...
...
@@ -449,7 +449,7 @@ static void scc_rx_int(int irq, void *data, struct pt_regs *fp)
ch
=
SCCread_NB
(
RX_DATA_REG
);
if
(
!
tty
)
{
printk
(
"scc_rx_int with NULL tty!
\n
"
);
printk
(
KERN_WARNING
"scc_rx_int with NULL tty!
\n
"
);
SCCwrite_NB
(
COMMAND_REG
,
CR_HIGHEST_IUS_RESET
);
return
;
}
...
...
@@ -487,7 +487,7 @@ static void scc_spcond_int(int irq, void *data, struct pt_regs *fp)
SCC_ACCESS_INIT
(
port
);
if
(
!
tty
)
{
printk
(
"scc_spcond_int with NULL tty!
\n
"
);
printk
(
KERN_WARNING
"scc_spcond_int with NULL tty!
\n
"
);
SCCwrite
(
COMMAND_REG
,
CR_ERROR_RESET
);
SCCwrite_NB
(
COMMAND_REG
,
CR_HIGHEST_IUS_RESET
);
return
;
...
...
@@ -533,7 +533,7 @@ static void scc_tx_int(int irq, void *data, struct pt_regs *fp)
SCC_ACCESS_INIT
(
port
);
if
(
!
port
->
gs
.
tty
)
{
printk
(
"scc_tx_int with NULL tty!
\n
"
);
printk
(
KERN_WARNING
"scc_tx_int with NULL tty!
\n
"
);
SCCmod
(
INT_AND_DMA_REG
,
~
IDR_TX_INT_ENAB
,
0
);
SCCwrite
(
COMMAND_REG
,
CR_TX_PENDING_RESET
);
SCCwrite_NB
(
COMMAND_REG
,
CR_HIGHEST_IUS_RESET
);
...
...
@@ -719,7 +719,7 @@ static int scc_set_real_termios (void *ptr)
else
if
((
MACH_IS_MVME16x
&&
(
baud
<
50
||
baud
>
38400
))
||
(
MACH_IS_MVME147
&&
(
baud
<
50
||
baud
>
19200
))
||
(
MACH_IS_BVME6000
&&
(
baud
<
50
||
baud
>
76800
)))
{
printk
(
"SCC: Bad speed requested, %d
\n
"
,
baud
);
printk
(
KERN_NOTICE
"SCC: Bad speed requested, %d
\n
"
,
baud
);
return
0
;
}
...
...
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