1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 07:26:17 +02:00

add atheros ar2313 vlan fix (thx, SeG)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10238 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-01-24 20:04:24 +00:00
parent 03e8a3a945
commit 0d15d1fe3a

View File

@ -134,7 +134,13 @@
#define CRC_LEN 4
#define RX_OFFSET 2
#define AR2313_BUFSIZE (AR2313_MTU + ETH_HLEN + CRC_LEN + RX_OFFSET)
#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
#define VLAN_HDR 4
#else
#define VLAN_HDR 0
#endif
#define AR2313_BUFSIZE (AR2313_MTU + VLAN_HDR + ETH_HLEN + CRC_LEN + RX_OFFSET)
#ifdef MODULE
MODULE_LICENSE("GPL");