diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-13 11:26:54 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-13 11:26:54 +0000 |
commit | b28f1d95166c59fc5c016989b3c1df68d79d9e04 (patch) | |
tree | aadafe69f9c2f20b6c36eef017440807457c5b6a /target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx | |
parent | 819f6df245417fdc72ad1b3f1b49caf9c417a8bf (diff) | |
download | upstream-b28f1d95166c59fc5c016989b3c1df68d79d9e04.tar.gz upstream-b28f1d95166c59fc5c016989b3c1df68d79d9e04.tar.bz2 upstream-b28f1d95166c59fc5c016989b3c1df68d79d9e04.zip |
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h index 99f34973b7..c447e3e8f2 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h @@ -816,6 +816,8 @@ void ar71xx_flash_release(void); #define MII_REG_MII0_CTRL 0x00 #define MII_REG_MII1_CTRL 0x04 +#define MII_CTRL_IF_MASK 3 + #define MII0_CTRL_IF_GMII 0 #define MII0_CTRL_IF_MII 1 #define MII0_CTRL_IF_RGMII 2 |