[U-Boot] [PATCH 5/7] net/designware: Try configuring phy on each dw_eth_init

Mike Frysinger vapier at gentoo.org
Wed Feb 29 20:11:38 CET 2012


On Wednesday 29 February 2012 05:37:24 Amit Virdi wrote:
> --- a/drivers/net/designware.h
> +++ b/drivers/net/designware.h
> @@ -238,6 +238,10 @@ struct dw_eth_dev {
>  	u32 duplex;
>  	u32 tx_currdescnum;
>  	u32 rx_currdescnum;
> +	u32 phy_configured;
> +#define FALSE	(0)
> +#define TRUE	(!FALSE)

NAK: we already have "true" and "false" and the "bool" type.  use those 
instead.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120229/53759f91/attachment.pgp>


More information about the U-Boot mailing list