Changeset 10934


Ignore:
Timestamp:
2008-04-24T03:09:47+02:00 (8 years ago)
Author:
nbd
Message:

fix vlan mapping for cpu port on the marvell switch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c

    r10931 r10934  
    275275 
    276276        /* build the target list for the cpu port */ 
    277         for (i = 0, vlmap = 0; i < ARRAY_SIZE(priv->vlans); i++) 
    278                 vlmap |= priv->vlans[i]; 
     277        for (i = 0; i < MV_PORTS; i++) 
     278                vlmap |= (1 << i); 
    279279 
    280280        w16(pdev, MV_PORTREG(VLANMAP, MV_CPUPORT), 
Note: See TracChangeset for help on using the changeset viewer.