Re: [PATCH] arm: mach-omap: xload: Enable network interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 14, 2018 at 02:56:01PM +0100, Teresa Remmet wrote:
> Since f0624a701513 ("net: Do not route traffic to interfaces that are not up")
> interfaces need to be "up" before used. To make enthernet boot work again
> enable the interface after dhcp is set up.
> 
> Signed-off-by: Teresa Remmet <t.remmet@xxxxxxxxx>
> ---
>  arch/arm/mach-omap/xload.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/mach-omap/xload.c b/arch/arm/mach-omap/xload.c
> index bb58825dcf9c..47aa8275b9ee 100644
> --- a/arch/arm/mach-omap/xload.c
> +++ b/arch/arm/mach-omap/xload.c
> @@ -257,6 +257,8 @@ static void *am33xx_net_boot(void)
>  
>  	dhcp_set_result(edev, dhcp_res);
>  
> +	edev->ifup = true;
> +
>  	/*
>  	 * Older tftp server don't send the file size.
>  	 * Then tftpfs needs temporary place to store the file.
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux