[PATCH v2] ast2400: use the 'aspeed' model for the ftgmac100 nic

Andrew Jeffery andrew at aj.id.au
Thu Jul 28 10:42:53 AEST 2016


Disregard this, there was some fat-fingering. Sorry for the noise.

Andrew

On Thu, 2016-07-28 at 10:02 +0930, Andrew Jeffery wrote:
> From: Cédric Le Goater <clg at kaod.org>
> 
> Signed-off-by: Cédric Le Goater <clg at kaod.org>
> ---
>  hw/arm/ast2400.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/hw/arm/ast2400.c b/hw/arm/ast2400.c
> index e8ca5a9e26e3..72dd6a29d4e6 100644
> --- a/hw/arm/ast2400.c
> +++ b/hw/arm/ast2400.c
> @@ -239,7 +239,10 @@ static void ast2400_realize(DeviceState *dev, Error **errp)
>  
>      /* Net */
>      qdev_set_nic_properties(DEVICE(&s->ftgmac100), &nd_table[0]);
> -    object_property_set_bool(OBJECT(&s->ftgmac100), true, "realized", &err);
> +    object_property_set_bool(OBJECT(&s->ftgmac100), true, "aspeed", &err);
> +    object_property_set_bool(OBJECT(&s->ftgmac100), true, "realized",
> +                             &local_err);
> +    error_propagate(&err, local_err);
>      if (err) {
>          error_propagate(errp, err);
>          return;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160728/ba3202a2/attachment-0001.sig>


More information about the openbmc mailing list