update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
[openwrt/svn-archive/archive.git] / target / linux / ar7-2.6 / files / include / asm-mips / ar7 / ar7.h
index 3e6a50c324a1deed96651a064486bee7e0654bb5..e8e32a0b83900edb2a8106ce7586c8bec2b6ed0f 100644 (file)
 #define  AR7_RESET_SOFTWARE    0x4
 #define  AR7_RESET_STATUS      0x8
 
-#define AR7_RESET_BIT_MDIO   22
+#define AR7_RESET_BIT_CPMAC_LO 17
+#define AR7_RESET_BIT_CPMAC_HI 21
+#define AR7_RESET_BIT_MDIO     22
+#define AR7_RESET_BIT_EPHY     26
 
 /* GPIO control registers */
 #define  AR7_GPIO_INPUT  0x0
@@ -83,8 +86,6 @@ struct plat_dsl_data {
        int reset_bit_sar;
 };
 
-extern char *prom_getenv(char *envname);
-
 extern int ar7_cpu_clock, ar7_bus_clock, ar7_dsp_clock;
 
 static inline u16 ar7_chip_id(void)