]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
via-velocity: remove non-tagged packet filtering
authorJiri Pirko <jpirko@redhat.com>
Mon, 15 Aug 2011 22:33:34 +0000 (22:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Aug 2011 03:13:39 +0000 (20:13 -0700)
It's undesired to filter untagged packets at any time. So simply remove this.

Reported-by: Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
Tested-by: Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/via-velocity.c

index deb1eca13c9f4f8321facaced82e6740da5f5cb5..7c5336c5c37f09c91d2bacfdb0fbe92fdfbddd31 100644 (file)
@@ -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, &regs->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);