diff options
author | Philippe Mathieu-Daudé | 2019-04-12 18:54:16 +0200 |
---|---|---|
committer | Peter Maydell | 2019-04-29 18:57:21 +0200 |
commit | 437cc27ddfded3bbab6afd5ac1761e0e195edba7 (patch) | |
tree | 33bea7bef0327838d25f33e638a2528c4a3faf5e /include/hw/net | |
parent | hw/net/lan9118: Export TYPE_LAN9118 and use it instead of hardcoded string (diff) | |
download | qemu-437cc27ddfded3bbab6afd5ac1761e0e195edba7.tar.gz qemu-437cc27ddfded3bbab6afd5ac1761e0e195edba7.tar.xz qemu-437cc27ddfded3bbab6afd5ac1761e0e195edba7.zip |
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>
Diffstat (limited to 'include/hw/net')
-rw-r--r-- | include/hw/net/smc91c111.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/hw/net/smc91c111.h b/include/hw/net/smc91c111.h new file mode 100644 index 0000000000..a66ba4112f --- /dev/null +++ b/include/hw/net/smc91c111.h @@ -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 |