qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] hw/net: Move MV88W8618 network device out of hw/arm/ dir


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/2] hw/net: Move MV88W8618 network device out of hw/arm/ directory
Date: Thu, 16 Dec 2021 10:03:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 12/16/21 09:45, Philippe Mathieu-Daudé wrote:
> The Marvell 88W8618 network device is hidden in the Musicpal
> machine. Move it into a new unit file under the hw/net/ directory.
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  include/hw/net/mv88w8618_eth.h |  16 ++
>  hw/arm/musicpal.c              | 380 +-----------------------------
>  hw/net/mv88w8618_eth.c         | 406 +++++++++++++++++++++++++++++++++
>  MAINTAINERS                    |   2 +
>  hw/net/meson.build             |   1 +
>  5 files changed, 426 insertions(+), 379 deletions(-)
>  create mode 100644 include/hw/net/mv88w8618_eth.h
>  create mode 100644 hw/net/mv88w8618_eth.c
> 
> diff --git a/include/hw/net/mv88w8618_eth.h b/include/hw/net/mv88w8618_eth.h
> new file mode 100644
> index 00000000000..65e880e0eb7
> --- /dev/null
> +++ b/include/hw/net/mv88w8618_eth.h
> @@ -0,0 +1,16 @@
> +/*
> + * Marvell MV88W8618 / Freecom MusicPal emulation.
> + *
> + * Copyright (c) 2008 Jan Kiszka
> + *
> + * This code is licensed under the GNU GPL v2.
> + *
> + * Contributions after 2012-01-13 are licensed under the terms of the
> + * GNU GPL, version 2 or (at your option) any later version.

These 2 lines are probably irrelevant here.

> + */
> +#ifndef HW_NET_MV88W8618_H
> +#define HW_NET_MV88W8618_H
> +
> +#define TYPE_MV88W8618_ETH "mv88w8618_eth"
> +
> +#endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]