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
edea6330
Commit
edea6330
authored
Sep 30, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix natsemi net drvr build, s/KERN_WARN/KERN_WARNING/
parent
af1bb36c
Changes
1
Show 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 @
edea6330
...
@@ -1005,7 +1005,7 @@ static void natsemi_reset(struct net_device *dev)
...
@@ -1005,7 +1005,7 @@ static void natsemi_reset(struct net_device *dev)
udelay
(
5
);
udelay
(
5
);
}
}
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
printk
(
KERN_WARN
"%s: reset did not complete in %d usec.
\n
"
,
printk
(
KERN_WARN
ING
"%s: reset did not complete in %d usec.
\n
"
,
dev
->
name
,
i
*
5
);
dev
->
name
,
i
*
5
);
}
else
if
(
netif_msg_hw
(
np
))
{
}
else
if
(
netif_msg_hw
(
np
))
{
printk
(
KERN_DEBUG
"%s: reset completed in %d usec.
\n
"
,
printk
(
KERN_DEBUG
"%s: reset completed in %d usec.
\n
"
,
...
@@ -1045,7 +1045,7 @@ static void natsemi_reload_eeprom(struct net_device *dev)
...
@@ -1045,7 +1045,7 @@ static void natsemi_reload_eeprom(struct net_device *dev)
break
;
break
;
}
}
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
printk
(
KERN_WARN
"%s: EEPROM did not reload in %d usec.
\n
"
,
printk
(
KERN_WARN
ING
"%s: EEPROM did not reload in %d usec.
\n
"
,
dev
->
name
,
i
*
50
);
dev
->
name
,
i
*
50
);
}
else
if
(
netif_msg_hw
(
np
))
{
}
else
if
(
netif_msg_hw
(
np
))
{
printk
(
KERN_DEBUG
"%s: EEPROM reloaded in %d usec.
\n
"
,
printk
(
KERN_DEBUG
"%s: EEPROM reloaded in %d usec.
\n
"
,
...
@@ -1066,7 +1066,7 @@ static void natsemi_stop_rxtx(struct net_device *dev)
...
@@ -1066,7 +1066,7 @@ static void natsemi_stop_rxtx(struct net_device *dev)
udelay
(
5
);
udelay
(
5
);
}
}
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
if
(
i
==
NATSEMI_HW_TIMEOUT
)
{
printk
(
KERN_WARN
"%s: Tx/Rx process did not stop in %d usec.
\n
"
,
printk
(
KERN_WARN
ING
"%s: Tx/Rx process did not stop in %d usec.
\n
"
,
dev
->
name
,
i
*
5
);
dev
->
name
,
i
*
5
);
}
else
if
(
netif_msg_hw
(
np
))
{
}
else
if
(
netif_msg_hw
(
np
))
{
printk
(
KERN_DEBUG
"%s: Tx/Rx process stopped in %d usec.
\n
"
,
printk
(
KERN_DEBUG
"%s: Tx/Rx process stopped in %d usec.
\n
"
,
...
@@ -1477,7 +1477,7 @@ static void refill_rx(struct net_device *dev)
...
@@ -1477,7 +1477,7 @@ static void refill_rx(struct net_device *dev)
}
}
if
(
np
->
cur_rx
-
np
->
dirty_rx
==
RX_RING_SIZE
)
{
if
(
np
->
cur_rx
-
np
->
dirty_rx
==
RX_RING_SIZE
)
{
if
(
netif_msg_rx_err
(
np
))
if
(
netif_msg_rx_err
(
np
))
printk
(
KERN_WARN
"%s: going OOM.
\n
"
,
dev
->
name
);
printk
(
KERN_WARN
ING
"%s: going OOM.
\n
"
,
dev
->
name
);
np
->
oom
=
1
;
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