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
1568cc8f
Commit
1568cc8f
authored
Jan 17, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/garz/repo/netdev-2.6/mc-filter
into pobox.com:/garz/repo/net-drivers-2.6
parents
97c29f59
d546320d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/net/atp.c
drivers/net/atp.c
+1
-1
drivers/net/tulip/tulip_core.c
drivers/net/tulip/tulip_core.c
+1
-1
drivers/net/tulip/winbond-840.c
drivers/net/tulip/winbond-840.c
+1
-1
No files found.
drivers/net/atp.c
View file @
1568cc8f
...
...
@@ -909,7 +909,7 @@ static void set_rx_mode_8012(struct net_device *dev)
i
++
,
mclist
=
mclist
->
next
)
{
int
filterbit
=
ether_crc_le
(
ETH_ALEN
,
mclist
->
dmi_addr
)
&
0x3f
;
mc_filter
[
filterbit
>>
5
]
|=
cpu_to_le32
(
1
<<
(
filterbit
&
31
)
);
mc_filter
[
filterbit
>>
5
]
|=
1
<<
(
filterbit
&
31
);
}
new_mode
=
CMR2h_Normal
;
}
...
...
drivers/net/tulip/tulip_core.c
View file @
1568cc8f
...
...
@@ -1051,7 +1051,7 @@ static void set_rx_mode(struct net_device *dev)
else
filterbit
=
ether_crc
(
ETH_ALEN
,
mclist
->
dmi_addr
)
>>
26
;
filterbit
&=
0x3f
;
mc_filter
[
filterbit
>>
5
]
|=
cpu_to_le32
(
1
<<
(
filterbit
&
31
)
);
mc_filter
[
filterbit
>>
5
]
|=
1
<<
(
filterbit
&
31
);
if
(
tulip_debug
>
2
)
{
printk
(
KERN_INFO
"%s: Added filter for %2.2x:%2.2x:%2.2x:"
"%2.2x:%2.2x:%2.2x %8.8x bit %d.
\n
"
,
dev
->
name
,
...
...
drivers/net/tulip/winbond-840.c
View file @
1568cc8f
...
...
@@ -1410,7 +1410,7 @@ static u32 __set_rx_mode(struct net_device *dev)
i
++
,
mclist
=
mclist
->
next
)
{
int
filterbit
=
(
ether_crc
(
ETH_ALEN
,
mclist
->
dmi_addr
)
>>
26
)
^
0x3F
;
filterbit
&=
0x3f
;
mc_filter
[
filterbit
>>
5
]
|=
cpu_to_le32
(
1
<<
(
filterbit
&
31
)
);
mc_filter
[
filterbit
>>
5
]
|=
1
<<
(
filterbit
&
31
);
}
rx_mode
=
AcceptBroadcast
|
AcceptMulticast
|
AcceptMyPhys
;
}
...
...
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