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
27d0b52a
Commit
27d0b52a
authored
Jan 10, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jan 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix padding for 7990 lance
parent
503c26ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/net/7990.c
drivers/net/7990.c
+2
-0
No files found.
drivers/net/7990.c
View file @
27d0b52a
...
@@ -528,6 +528,8 @@ int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
...
@@ -528,6 +528,8 @@ int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
ib
->
btx_ring
[
entry
].
length
=
(
-
len
)
|
0xf000
;
ib
->
btx_ring
[
entry
].
length
=
(
-
len
)
|
0xf000
;
ib
->
btx_ring
[
entry
].
misc
=
0
;
ib
->
btx_ring
[
entry
].
misc
=
0
;
if
(
skb
->
len
<
ETH_ZLEN
)
memset
((
char
*
)
&
ib
->
tx_buf
[
entry
][
0
],
0
,
ETH_ZLEN
);
memcpy
((
char
*
)
&
ib
->
tx_buf
[
entry
][
0
],
skb
->
data
,
skblen
);
memcpy
((
char
*
)
&
ib
->
tx_buf
[
entry
][
0
],
skb
->
data
,
skblen
);
/* Now, give the packet to the lance */
/* Now, give the packet to the lance */
...
...
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