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
fd393e0a
Commit
fd393e0a
authored
Aug 21, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TIGON3: Add missing udelay when clearing SRAM stats/status block.
parent
e1d31f45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/net/tg3.c
drivers/net/tg3.c
+3
-1
No files found.
drivers/net/tg3.c
View file @
fd393e0a
...
@@ -3337,8 +3337,10 @@ static int tg3_reset_hw(struct tg3 *tp)
...
@@ -3337,8 +3337,10 @@ static int tg3_reset_hw(struct tg3 *tp)
/* Clear statistics/status block in chip, and status block in ram. */
/* Clear statistics/status block in chip, and status block in ram. */
for
(
i
=
NIC_SRAM_STATS_BLK
;
for
(
i
=
NIC_SRAM_STATS_BLK
;
i
<
NIC_SRAM_STATUS_BLK
+
TG3_HW_STATUS_SIZE
;
i
<
NIC_SRAM_STATUS_BLK
+
TG3_HW_STATUS_SIZE
;
i
+=
sizeof
(
u32
))
i
+=
sizeof
(
u32
))
{
tg3_write_mem
(
tp
,
i
,
0
);
tg3_write_mem
(
tp
,
i
,
0
);
udelay
(
40
);
}
memset
(
tp
->
hw_status
,
0
,
TG3_HW_STATUS_SIZE
);
memset
(
tp
->
hw_status
,
0
,
TG3_HW_STATUS_SIZE
);
/* This value is determined during the probe time DMA
/* This value is determined during the probe time DMA
...
...
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