diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-27 03:07:52 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-27 03:07:52 +0000 |
commit | 38d9c42391c335db7e9d6b6f263c75e7ea45ca76 (patch) | |
tree | e7a64dae37a9ac6a40ffd95a730acaf30faf2618 /target/linux/ar7-2.6/files/include/asm-mips/ar7 | |
parent | 8bf289d5fd108975bd6e092075e72634d8034ee5 (diff) |
update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8189 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/include/asm-mips/ar7')
-rw-r--r-- | target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h | 7 | ||||
-rw-r--r-- | target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h b/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h index 3e6a50c324..e8e32a0b83 100644 --- a/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h +++ b/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h @@ -53,7 +53,10 @@ #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) diff --git a/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h b/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h index f500093e2c..10d6235102 100644 --- a/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h +++ b/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h @@ -21,8 +21,7 @@ #ifndef __PROM_H__ #define __PROM_H__ -extern void prom_init(void);
-extern char *prom_getenv(char *name);
+extern char *prom_getenv(char *name); extern void prom_printf(char *fmt, ...); #endif // __PROM_H__ |