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
9dccf611
Commit
9dccf611
authored
May 14, 2006
by
Francois Romieu
Committed by
Francois Romieu
Jul 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
r8169: RX fifo overflow recovery
Signed-off-by:
Francois Romieu
<
romieu@fr.zoreil.com
>
parent
a2b98a69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
drivers/net/r8169.c
drivers/net/r8169.c
+9
-4
No files found.
drivers/net/r8169.c
View file @
9dccf611
...
...
@@ -257,10 +257,11 @@ enum RTL8169_register_content {
RxOK
=
0x01
,
/* RxStatusDesc */
RxRES
=
0x00200000
,
RxCRC
=
0x00080000
,
RxRUNT
=
0x00100000
,
RxRWT
=
0x00400000
,
RxFOVF
=
(
1
<<
23
),
RxRWT
=
(
1
<<
22
),
RxRES
=
(
1
<<
21
),
RxRUNT
=
(
1
<<
20
),
RxCRC
=
(
1
<<
19
),
/* ChipCmdBits */
CmdReset
=
0x10
,
...
...
@@ -2465,6 +2466,10 @@ rtl8169_rx_interrupt(struct net_device *dev, struct rtl8169_private *tp,
tp
->
stats
.
rx_length_errors
++
;
if
(
status
&
RxCRC
)
tp
->
stats
.
rx_crc_errors
++
;
if
(
status
&
RxFOVF
)
{
rtl8169_schedule_work
(
dev
,
rtl8169_reset_task
);
tp
->
stats
.
rx_fifo_errors
++
;
}
rtl8169_mark_to_asic
(
desc
,
tp
->
rx_buf_sz
);
}
else
{
struct
sk_buff
*
skb
=
tp
->
Rx_skbuff
[
entry
];
...
...
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