Changeset 30928
- Timestamp:
- 2012-03-13T18:33:12+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/target/linux/generic/files/drivers/net/phy/ar8216.c
r30885 r30928 622 622 int pvid; 623 623 624 if (priv->vlan) 624 if (priv->vlan) { 625 625 pvid = priv->vlan_id[priv->pvid[i]]; 626 else627 pvid = i;628 629 if (priv->vlan) {630 626 if (priv->vlan_tagged & (1 << i)) 631 627 egress = AR8216_OUT_ADD_VLAN; 632 628 else 633 629 egress = AR8216_OUT_STRIP_VLAN; 630 ingress = AR8216_IN_SECURE; 634 631 } else { 632 pvid = i; 635 633 egress = AR8216_OUT_KEEP; 634 ingress = AR8216_IN_PORT_ONLY; 636 635 } 637 638 if (priv->vlan)639 ingress = AR8216_IN_SECURE;640 else641 ingress = AR8216_IN_PORT_ONLY;642 636 643 637 if (priv->chip == AR8236)
Note: See TracChangeset
for help on using the changeset viewer.