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
0e70266c
Commit
0e70266c
authored
Sep 27, 2002
by
Tim Hockin
Committed by
Jeff Garzik
Sep 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drivers/net/natsemi.c: boost some printk() levels to WARN
parent
1ce5fa09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/net/natsemi.c
drivers/net/natsemi.c
+4
-4
No files found.
drivers/net/natsemi.c
View file @
0e70266c
...
...
@@ -1005,7 +1005,7 @@ static void natsemi_reset(struct net_device *dev)
udelay
(
5
);
}
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
printk
(
KERN_
INFO
"%s: reset did not complete in %d usec.
\n
"
,
printk
(
KERN_
WARN
"%s: reset did not complete in %d usec.
\n
"
,
dev
->
name
,
i
*
5
);
}
else
if
(
netif_msg_hw
(
np
))
{
printk
(
KERN_DEBUG
"%s: reset completed in %d usec.
\n
"
,
...
...
@@ -1045,7 +1045,7 @@ static void natsemi_reload_eeprom(struct net_device *dev)
break
;
}
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
printk
(
KERN_
INFO
"%s: EEPROM did not reload in %d usec.
\n
"
,
printk
(
KERN_
WARN
"%s: EEPROM did not reload in %d usec.
\n
"
,
dev
->
name
,
i
*
50
);
}
else
if
(
netif_msg_hw
(
np
))
{
printk
(
KERN_DEBUG
"%s: EEPROM reloaded in %d usec.
\n
"
,
...
...
@@ -1066,7 +1066,7 @@ static void natsemi_stop_rxtx(struct net_device *dev)
udelay
(
5
);
}
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
printk
(
KERN_
INFO
"%s: Tx/Rx process did not stop in %d usec.
\n
"
,
printk
(
KERN_
WARN
"%s: Tx/Rx process did not stop in %d usec.
\n
"
,
dev
->
name
,
i
*
5
);
}
else
if
(
netif_msg_hw
(
np
))
{
printk
(
KERN_DEBUG
"%s: Tx/Rx process stopped in %d usec.
\n
"
,
...
...
@@ -1477,7 +1477,7 @@ static void refill_rx(struct net_device *dev)
}
if
(
np
->
cur_rx
-
np
->
dirty_rx
==
RX_RING_SIZE
)
{
if
(
netif_msg_rx_err
(
np
))
printk
(
KERN_
INFO
"%s: going OOM.
\n
"
,
dev
->
name
);
printk
(
KERN_
WARN
"%s: going OOM.
\n
"
,
dev
->
name
);
np
->
oom
=
1
;
}
}
...
...
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