Changeset 31010


Ignore:
Timestamp:
2012-03-18T23:06:51+01:00 (6 years ago)
Author:
juhosg
Message:

generic: ar8216: allow to use more ports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/ar8216.c

    r31009 r31010  
    3636#define AR8X16_MAX_VLANS        128 
    3737#define AR8X16_PROBE_RETRIES    10 
     38#define AR8X16_MAX_PORTS        8 
    3839 
    3940struct ar8216_priv; 
     
    7677        u8 vlan_table[AR8X16_MAX_VLANS]; 
    7778        u8 vlan_tagged; 
    78         u16 pvid[AR8216_NUM_PORTS]; 
     79        u16 pvid[AR8X16_MAX_PORTS]; 
    7980}; 
    8081 
     
    737738{ 
    738739        struct ar8216_priv *priv = to_ar8216(dev); 
    739         u8 portmask[AR8216_NUM_PORTS]; 
     740        u8 portmask[AR8X16_MAX_PORTS]; 
    740741        int i, j; 
    741742 
Note: See TracChangeset for help on using the changeset viewer.