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
cb3f027c
Commit
cb3f027c
authored
Jul 09, 2003
by
David S. Miller
Committed by
Stephen Hemminger
Jul 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUNHME]: Set RXMAX/TXMAX large enough to handle VLAN frames.
parent
f3d63f6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/net/sunhme.c
drivers/net/sunhme.c
+6
-0
No files found.
drivers/net/sunhme.c
View file @
cb3f027c
...
...
@@ -1521,6 +1521,12 @@ static int happy_meal_init(struct happy_meal *hp)
hme_write32
(
hp
,
bregs
+
BMAC_IGAP1
,
DEFAULT_IPG1
);
hme_write32
(
hp
,
bregs
+
BMAC_IGAP2
,
DEFAULT_IPG2
);
/* Make sure we can handle VLAN frames. */
hme_write32
(
hp
,
bregs
+
BMAC_TXMAX
,
ETH_DATA_LEN
+
ETH_HLEN
+
8
);
hme_write32
(
hp
,
bregs
+
BMAC_RXMAX
,
ETH_DATA_LEN
+
ETH_HLEN
+
8
);
/* Load up the MAC address and random seed. */
HMD
((
"rseed/macaddr, "
));
...
...
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