[ar7] let 802.1q tagged frames go in and out from cpmac (#6730)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20023 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
9819491d23
commit
7c026d2bec
|
@ -0,0 +1,11 @@
|
|||
--- a/drivers/net/cpmac.c 2010-02-11 23:52:19.000000000 +0000
|
||||
+++ b/drivers/net/cpmac.c 2010-02-20 20:32:58.000000000 +0000
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
#define CPMAC_VERSION "0.5.0"
|
||||
/* frame size + 802.1q tag */
|
||||
-#define CPMAC_SKB_SIZE (ETH_FRAME_LEN + 4)
|
||||
+#define CPMAC_SKB_SIZE (ETH_FRAME_LEN + ETH_FCS_LEN + 4)
|
||||
#define CPMAC_QUEUES 8
|
||||
|
||||
/* Ethernet registers */
|
|
@ -0,0 +1,11 @@
|
|||
--- a/drivers/net/cpmac.c 2010-02-11 23:52:19.000000000 +0000
|
||||
+++ b/drivers/net/cpmac.c 2010-02-20 20:32:58.000000000 +0000
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
#define CPMAC_VERSION "0.5.0"
|
||||
/* frame size + 802.1q tag */
|
||||
-#define CPMAC_SKB_SIZE (ETH_FRAME_LEN + 4)
|
||||
+#define CPMAC_SKB_SIZE (ETH_FRAME_LEN + ETH_FCS_LEN + 4)
|
||||
#define CPMAC_QUEUES 8
|
||||
|
||||
/* Ethernet registers */
|
Loading…
Reference in New Issue