diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-10-15 06:11:24 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-15 14:38:25 -0400 |
commit | 25b31cb118f399e9996ed7a3766b86c69a6bb07e (patch) | |
tree | 455e89553ee38d208dad1d50bb1ba9e8d9057001 /drivers/net/au1000_eth.c | |
parent | 2de889235d0e820a6b256b834ee6a64e12fede08 (diff) |
add new prom.h for AU1x00
Add new prom.h for AU1x00.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/au1000_eth.c')
-rw-r--r-- | drivers/net/au1000_eth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c index 297e2d08d267..185f98e3964c 100644 --- a/drivers/net/au1000_eth.c +++ b/drivers/net/au1000_eth.c | |||
@@ -54,13 +54,16 @@ | |||
54 | #include <linux/delay.h> | 54 | #include <linux/delay.h> |
55 | #include <linux/crc32.h> | 55 | #include <linux/crc32.h> |
56 | #include <linux/phy.h> | 56 | #include <linux/phy.h> |
57 | |||
58 | #include <asm/cpu.h> | ||
57 | #include <asm/mipsregs.h> | 59 | #include <asm/mipsregs.h> |
58 | #include <asm/irq.h> | 60 | #include <asm/irq.h> |
59 | #include <asm/io.h> | 61 | #include <asm/io.h> |
60 | #include <asm/processor.h> | 62 | #include <asm/processor.h> |
61 | 63 | ||
62 | #include <asm/mach-au1x00/au1000.h> | 64 | #include <au1000.h> |
63 | #include <asm/cpu.h> | 65 | #include <prom.h> |
66 | |||
64 | #include "au1000_eth.h" | 67 | #include "au1000_eth.h" |
65 | 68 | ||
66 | #ifdef AU1000_ETH_DEBUG | 69 | #ifdef AU1000_ETH_DEBUG |
@@ -96,9 +99,6 @@ static void mdio_write(struct net_device *, int, int, u16); | |||
96 | static void au1000_adjust_link(struct net_device *); | 99 | static void au1000_adjust_link(struct net_device *); |
97 | static void enable_mac(struct net_device *, int); | 100 | static void enable_mac(struct net_device *, int); |
98 | 101 | ||
99 | // externs | ||
100 | extern int prom_get_ethernet_addr(char *ethernet_addr); | ||
101 | |||
102 | /* | 102 | /* |
103 | * Theory of operation | 103 | * Theory of operation |
104 | * | 104 | * |