1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ar8216: fix transmission of large frames by setting the switch mtu

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16629 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2009-06-29 21:54:16 +00:00
parent a95f34106f
commit 109963bd6d
2 changed files with 7 additions and 0 deletions

View File

@@ -26,6 +26,9 @@
#define AR8216_REG_CTRL 0x0000
#define AR8216_CTRL_RESET BIT(31)
#define AR8216_REG_GLOBAL_CTRL 0x0030
#define AR8216_GCTRL_MTU BITS(0, 10)
#define AR8216_REG_VTU 0x0040
#define AR8216_VTU_OP BITS(0, 3)
#define AR8216_VTU_OP_NOOP 0x0