diff options
Diffstat (limited to 'drivers/net/e1000.c')
-rw-r--r-- | drivers/net/e1000.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 9212920549d..008da4ab3e7 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -30,13 +30,18 @@ tested on both gig copper and gig fiber boards */ #include <common.h> +#include <command.h> #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <memalign.h> +#include <net.h> #include <pci.h> +#include <linux/delay.h> #include "e1000.h" +#include <asm/cache.h> #define TOUT_LOOP 100000 @@ -5759,8 +5764,8 @@ struct e1000_hw *e1000_find_card(unsigned int cardnum) #endif /* !CONFIG_DM_ETH */ #ifdef CONFIG_CMD_E1000 -static int do_e1000(cmd_tbl_t *cmdtp, int flag, - int argc, char * const argv[]) +static int do_e1000(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { unsigned char *mac = NULL; #ifdef CONFIG_DM_ETH |