[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 15/16] hw/devices: Move SMSC 91C111 declaration in
From: |
Thomas Huth |
Subject: |
Re: [Qemu-ppc] [PATCH 15/16] hw/devices: Move SMSC 91C111 declaration into a new header |
Date: |
Mon, 7 Jan 2019 08:38:35 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2019-01-04 18:58, Philippe Mathieu-Daudé wrote:
> This commit finally deletes "hw/devices.h".
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> hw/arm/gumstix.c | 2 +-
> hw/arm/integratorcp.c | 2 +-
> hw/arm/mainstone.c | 2 +-
> hw/arm/realview.c | 2 +-
> hw/arm/versatilepb.c | 2 +-
> hw/net/smc91c111.c | 2 +-
> include/hw/devices.h | 11 -----------
> include/hw/net/smc91c111.h | 18 ++++++++++++++++++
> 8 files changed, 24 insertions(+), 17 deletions(-)
> delete mode 100644 include/hw/devices.h
> create mode 100644 include/hw/net/smc91c111.h
[...]
> diff --git a/include/hw/net/smc91c111.h b/include/hw/net/smc91c111.h
> new file mode 100644
> index 0000000000..46f7d9a5d4
> --- /dev/null
> +++ b/include/hw/net/smc91c111.h
> @@ -0,0 +1,18 @@
> +/*
> + * SMSC 91C111 Ethernet interface emulation
> + *
> + * Copyright (c) 2005 CodeSourcery, LLC.
> + * Written by Paul Brook
> + *
> + * This code is licensed under the GPL
I'd like to suggest to use here GPLv2+, too, since just "GPL" is quite
inaccurate.
> + */
> +
> +#ifndef HW_NET_SMC91C111_H
> +#define HW_NET_SMC91C111_H
> +
> +#include "hw/irq.h"
> +#include "net/net.h"
> +
> +void smc91c111_init(NICInfo *, uint32_t, qemu_irq);
> +
> +#endif
>
Thomas
- Re: [Qemu-ppc] [PATCH 09/16] hw/devices: Move TI touchscreen declarations into a new header, (continued)
- [Qemu-ppc] [PATCH 10/16] typedefs: Remove MouseTransformInfo, Philippe Mathieu-Daudé, 2019/01/04
- [Qemu-ppc] [PATCH 11/16] typedefs: Remove PS2State, Philippe Mathieu-Daudé, 2019/01/04
- [Qemu-ppc] [PATCH 12/16] hw/devices: Move LAN9118 declarations into a new header, Philippe Mathieu-Daudé, 2019/01/04
- [Qemu-ppc] [PATCH 13/16] hw/net/ne2000-isa: Add guards to the header, Philippe Mathieu-Daudé, 2019/01/04
- [Qemu-ppc] [PATCH 14/16] hw/net/lan9118: Export TYPE_LAN9118 and use it instead of hardcoded string, Philippe Mathieu-Daudé, 2019/01/04
- [Qemu-ppc] [PATCH 15/16] hw/devices: Move SMSC 91C111 declaration into a new header, Philippe Mathieu-Daudé, 2019/01/04
- Re: [Qemu-ppc] [PATCH 15/16] hw/devices: Move SMSC 91C111 declaration into a new header,
Thomas Huth <=
- [Qemu-ppc] [PATCH 16/16] RFC hw/net/smc91c111: Convert init helper into an inline function, Philippe Mathieu-Daudé, 2019/01/04