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
e69d51af
Commit
e69d51af
authored
Aug 28, 2002
by
Tim Hockin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get rid of a couple extraneous natsemi enet error messages
parent
cd5164a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
drivers/net/natsemi.c
drivers/net/natsemi.c
+2
-10
No files found.
drivers/net/natsemi.c
View file @
e69d51af
...
...
@@ -1473,12 +1473,8 @@ static void netdev_tx_done(struct net_device *dev)
for
(;
np
->
cur_tx
-
np
->
dirty_tx
>
0
;
np
->
dirty_tx
++
)
{
int
entry
=
np
->
dirty_tx
%
TX_RING_SIZE
;
if
(
np
->
tx_ring
[
entry
].
cmd_status
&
cpu_to_le32
(
DescOwn
))
{
if
(
netif_msg_tx_err
(
np
))
printk
(
KERN_DEBUG
"%s: tx frame #%d is busy.
\n
"
,
dev
->
name
,
np
->
dirty_tx
);
if
(
np
->
tx_ring
[
entry
].
cmd_status
&
cpu_to_le32
(
DescOwn
))
break
;
}
if
(
netif_msg_tx_done
(
np
))
printk
(
KERN_DEBUG
"%s: tx frame #%d finished, status %#08x.
\n
"
,
...
...
@@ -1589,11 +1585,7 @@ static void netdev_rx(struct net_device *dev)
np
->
cur_rx
,
desc_status
);
np
->
stats
.
rx_length_errors
++
;
}
else
{
/* There was a error. */
if
(
netif_msg_rx_err
(
np
))
printk
(
KERN_DEBUG
" netdev_rx() Rx error was "
"%#08x.
\n
"
,
desc_status
);
/* There was an error. */
np
->
stats
.
rx_errors
++
;
if
(
desc_status
&
(
DescRxAbort
|
DescRxOver
))
np
->
stats
.
rx_over_errors
++
;
...
...
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