diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-10-15 12:11:24 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-15 20:38:25 +0200 |
commit | 25b31cb118f399e9996ed7a3766b86c69a6bb07e (patch) | |
tree | 455e89553ee38d208dad1d50bb1ba9e8d9057001 /drivers/net | |
parent | update AU1000 get_ethernet_addr() (diff) | |
download | linux-25b31cb118f399e9996ed7a3766b86c69a6bb07e.tar.xz linux-25b31cb118f399e9996ed7a3766b86c69a6bb07e.zip |
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')
-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 @@ #include <linux/delay.h> #include <linux/crc32.h> #include <linux/phy.h> + +#include <asm/cpu.h> #include <asm/mipsregs.h> #include <asm/irq.h> #include <asm/io.h> #include <asm/processor.h> -#include <asm/mach-au1x00/au1000.h> -#include <asm/cpu.h> +#include <au1000.h> +#include <prom.h> + #include "au1000_eth.h" #ifdef AU1000_ETH_DEBUG @@ -96,9 +99,6 @@ static void mdio_write(struct net_device *, int, int, u16); static void au1000_adjust_link(struct net_device *); static void enable_mac(struct net_device *, int); -// externs -extern int prom_get_ethernet_addr(char *ethernet_addr); - /* * Theory of operation * |