aboutsummaryrefslogtreecommitdiff
path: root/include/hw/net
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-04-12 18:54:16 +0200
committerPeter Maydell <peter.maydell@linaro.org>2019-04-29 17:57:21 +0100
commit437cc27ddfded3bbab6afd5ac1761e0e195edba7 (patch)
tree33bea7bef0327838d25f33e638a2528c4a3faf5e /include/hw/net
parent94630665b5b04235400a7bb6236539b2593eff35 (diff)
downloadqemu-437cc27ddfded3bbab6afd5ac1761e0e195edba7.zip
qemu-437cc27ddfded3bbab6afd5ac1761e0e195edba7.tar.gz
qemu-437cc27ddfded3bbab6afd5ac1761e0e195edba7.tar.bz2
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.h19
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 0000000..a66ba41
--- /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