[U-Boot-Users] [PATCH] NE2000: Fix regresssion introduced by e710185aae90 on non AX88796
Ben Warren
biggerbadderben at gmail.com
Tue Apr 15 05:47:56 CEST 2008
On Sat, Apr 12, 2008 at 1:00 AM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:
> Move non-inlied functions into specific drivers file
> Set get_prom as weak
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Signed-off-by: Vlad Lungu <vlad at comsys.ro>
>
> diff --git a/drivers/net/Makefile b/drivers/net/Makefile
> index eafd267..99e068b 100644
> --- a/drivers/net/Makefile
> +++ b/drivers/net/Makefile
> @@ -42,7 +42,10 @@ COBJS-y += lan91c96.o
> COBJS-y += macb.o
> COBJS-y += mcffec.o
> COBJS-y += natsemi.o
> -COBJS-$(CONFIG_DRIVER_NE2000) += ne2000.o
> +ifeq ($(CONFIG_DRIVER_NE2000),y)
> +COBJS-y += ne2000.o
> +COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o
> +endif
> COBJS-y += netarm_eth.o
> COBJS-y += netconsole.o
> COBJS-y += ns7520_eth.o
> diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
> new file mode 100644
> index 0000000..7e3e3bb
> --- /dev/null
> +++ b/drivers/net/ax88796.c
> @@ -0,0 +1,155 @@
> +/*
> + * (c) 2008 Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> + * (c) 2007 Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> + *
Your work is appreciated, but moving code to a different file doesn't
entitle you to copyright.
regards,
Ben
More information about the U-Boot
mailing list