Changeset 10238


Ignore:
Timestamp:
2008-01-24T21:04:24+01:00 (10 years ago)
Author:
nbd
Message:

add atheros ar2313 vlan fix (thx, SeG)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/files/drivers/net/ar2313/ar2313.c

    r9298 r10238  
    135135#define RX_OFFSET               2 
    136136 
    137 #define AR2313_BUFSIZE          (AR2313_MTU + ETH_HLEN + CRC_LEN + RX_OFFSET) 
     137#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)  
     138#define VLAN_HDR                4 
     139#else 
     140#define VLAN_HDR                0 
     141#endif 
     142 
     143#define AR2313_BUFSIZE          (AR2313_MTU + VLAN_HDR + ETH_HLEN + CRC_LEN + RX_OFFSET) 
    138144 
    139145#ifdef MODULE 
Note: See TracChangeset for help on using the changeset viewer.