mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
hw/devices: Move SMSC 91C111 declaration into a new header
This commit finally deletes "hw/devices.h". Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190412165416.7977-13-philmd@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
94630665b5
commit
437cc27ddf
@ -40,7 +40,7 @@
|
||||
#include "hw/arm/pxa.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "hw/devices.h"
|
||||
#include "hw/net/smc91c111.h"
|
||||
#include "hw/boards.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "sysemu/qtest.h"
|
||||
|
@ -12,10 +12,10 @@
|
||||
#include "qemu-common.h"
|
||||
#include "cpu.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/devices.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/arm/arm.h"
|
||||
#include "hw/misc/arm_integrator_debug.h"
|
||||
#include "hw/net/smc91c111.h"
|
||||
#include "net/net.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "hw/arm/pxa.h"
|
||||
#include "hw/arm/arm.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/devices.h"
|
||||
#include "hw/net/smc91c111.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
@ -14,8 +14,8 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/arm/arm.h"
|
||||
#include "hw/arm/primecell.h"
|
||||
#include "hw/devices.h"
|
||||
#include "hw/net/lan9118.h"
|
||||
#include "hw/net/smc91c111.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "net/net.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "cpu.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/arm/arm.h"
|
||||
#include "hw/devices.h"
|
||||
#include "hw/net/smc91c111.h"
|
||||
#include "net/net.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/pci/pci.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/devices.h"
|
||||
#include "hw/net/smc91c111.h"
|
||||
#include "qemu/log.h"
|
||||
/* For crc32 */
|
||||
#include <zlib.h>
|
||||
|
@ -1,11 +0,0 @@
|
||||
#ifndef QEMU_DEVICES_H
|
||||
#define QEMU_DEVICES_H
|
||||
|
||||
/* Devices that have nowhere better to go. */
|
||||
|
||||
#include "hw/hw.h"
|
||||
|
||||
/* smc91c111.c */
|
||||
void smc91c111_init(NICInfo *, uint32_t, qemu_irq);
|
||||
|
||||
#endif
|
19
include/hw/net/smc91c111.h
Normal file
19
include/hw/net/smc91c111.h
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* SMSC 91C111 Ethernet interface emulation
|
||||
*
|
||||
* Copyright (c) 2005 CodeSourcery, LLC.
|
||||
* Written by Paul Brook
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#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
|
Loading…
Reference in New Issue
Block a user