diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-07-21 18:20:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-07-21 18:20:09 +0000 |
commit | c2d30987f5e32179be063f6effb11a71aee6bd35 (patch) | |
tree | fb25ba843ccf077cc9d8e1f7baafb66342d345b2 /target/linux/generic-2.6/files-2.6.26/drivers/net/phy/mvswitch.h | |
parent | 5325f94712d8b0f193370e0d5c1c05508df87bd8 (diff) | |
download | upstream-c2d30987f5e32179be063f6effb11a71aee6bd35.tar.gz upstream-c2d30987f5e32179be063f6effb11a71aee6bd35.tar.bz2 upstream-c2d30987f5e32179be063f6effb11a71aee6bd35.zip |
update mvswitch for 2.6.25 and 2.6.26 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11896 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files-2.6.26/drivers/net/phy/mvswitch.h')
-rw-r--r-- | target/linux/generic-2.6/files-2.6.26/drivers/net/phy/mvswitch.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/files-2.6.26/drivers/net/phy/mvswitch.h b/target/linux/generic-2.6/files-2.6.26/drivers/net/phy/mvswitch.h index a172e37265..1563eec4d5 100644 --- a/target/linux/generic-2.6/files-2.6.26/drivers/net/phy/mvswitch.h +++ b/target/linux/generic-2.6/files-2.6.26/drivers/net/phy/mvswitch.h @@ -123,7 +123,21 @@ enum { MV_ATUCTL_ATUMASK = (3 << 12), MV_ATUCTL_NO_LEARN = (1 << 14), MV_ATUCTL_RESET = (1 << 15), -} +}; + +enum { +#define MV_ATUOP_DBNUM(_n) ((_n) & 0x0f) + + MV_ATUOP_NOOP = (0 << 12), + MV_ATUOP_FLUSH_ALL = (1 << 12), + MV_ATUOP_FLUSH_U = (2 << 12), + MV_ATUOP_LOAD_DB = (3 << 12), + MV_ATUOP_GET_NEXT = (4 << 12), + MV_ATUOP_FLUSH_DB = (5 << 12), + MV_ATUOP_FLUSH_DB_UU= (6 << 12), + + MV_ATUOP_INPROGRESS = (1 << 15), +}; #define MV_IDENT_MASK 0xfff0 #define MV_IDENT_VALUE 0x0600 |