via-velocity: remove non-tagged packet filtering
Subsystems (2)
PATCH 1/1 via-velocity: remove non-tagged packet filtering
It's undesired to filter untagged packets at any time. So simply remove this.
Reported-by Stephan Bärwolf <[email protected]>
Tested-by Stephan Bärwolf <[email protected]>
Signed-off-by Jiri Pirko <[email protected]>
--- drivers/net/via-velocity.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/net/via-velocity.c +0 -4
@@ -515,10 +515,6 @@ static void velocity_init_cam_filter(struct velocity_info *vptr)mac_set_cam_mask (regs, vptr->mCAMmask);/* Enable VCAMs */ - -if (test_bit (0 , vptr->active_vlans)) -WORD_REG_BITS_ON (MCFG_RTGOPT , ®s->MCFG); -for_each_set_bit (vid, vptr->active_vlans,VLAN_N_VID ) {mac_set_vlan_cam (regs, i, (u8 *) &vid); vptr->vCAMmask[i /8 ] |=0x1 << (i %8 );
Signature · 1 line
1.7.6
From: Jiri Pirko <[email protected]>
Date: Tue, 16 Aug 2011 10:33:34 +0200
Quoted 5 lines
It's undesired to filter untagged packets at any time. So simply remove this.
Reported-by Stephan Bärwolf <[email protected]>Tested-by Stephan Bärwolf <[email protected]>Signed-off-by Jiri Pirko <[email protected]>
Applied, thanks.