mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar8216: add delay for page switching to work around register setting corruption. use packet mangling to fix up the vlan for incoming packets (workaround for hardware bug, which renders normal 802.1q support unusable)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16442 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -120,6 +120,9 @@
|
||||
#define AR8216_PORT_VLAN_MODE BITS(30, 2)
|
||||
#define AR8216_PORT_VLAN_MODE_S 30
|
||||
|
||||
#define AR8216_REG_PORT_RATE(_i) (AR8216_PORT_OFFSET(_i) + 0x000c)
|
||||
#define AR8216_REG_PORT_PRIO(_i) (AR8216_PORT_OFFSET(_i) + 0x0010)
|
||||
|
||||
/* ingress 802.1q mode */
|
||||
enum {
|
||||
AR8216_IN_PORT_ONLY = 0,
|
||||
|
||||
Reference in New Issue
Block a user