fix missing bits in ar7.h after r20037
authorFlorian Fainelli <florian@openwrt.org>
Tue, 9 Mar 2010 16:59:08 +0000 (16:59 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 9 Mar 2010 16:59:08 +0000 (16:59 +0000)
SVN-Revision: 20086

target/linux/ar7/files-2.6.30/include/asm-mips/ar7/ar7.h

index 19b5289fdd87244fa17907541b9330ac7005987d..f37e82f5cb71589cf4f8aba2dc7878e4491bbcfa 100644 (file)
 #define UR8_REGS_WDT   (AR7_REGS_BASE + 0x0b00)
 #define UR8_REGS_UART1 (AR7_REGS_BASE + 0x0f00)
 
-#define TITAN_REGS_MAC0                (0x08640000)
-#define TITAN_REGS_MAC1                (TITAN_REGS_MAC0 + 0x0800)
+#define TITAN_REGS_ESWITCH_BASE        (0x08640000) 
+#define TITAN_REGS_MAC0                (TITAN_REGS_ESWITCH_BASE + 0) 
+#define TITAN_REGS_MAC1                (TITAN_REGS_ESWITCH_BASE + 0x0800) 
+#define TITAN_REGS_MDIO                (TITAN_REGS_ESWITCH_BASE + 0x02000) 
 #define TITAN_REGS_VLYNQ0      (AR7_REGS_BASE + 0x1c00)
 #define TITAN_REGS_VLYNQ1      (AR7_REGS_BASE + 0x1300)