summaryrefslogtreecommitdiff
path: root/hw/net/lance.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/lance.c')
-rw-r--r--hw/net/lance.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/hw/net/lance.c b/hw/net/lance.c
index 92b0c68274..23929fd1e6 100644
--- a/hw/net/lance.c
+++ b/hw/net/lance.c
@@ -41,19 +41,10 @@
#include "qemu/timer.h"
#include "qemu/sockets.h"
#include "hw/sparc/sun4m.h"
-#include "pcnet.h"
+#include "hw/net/lance.h"
#include "trace.h"
#include "sysemu/sysemu.h"
-#define TYPE_LANCE "lance"
-#define SYSBUS_PCNET(obj) \
- OBJECT_CHECK(SysBusPCNetState, (obj), TYPE_LANCE)
-
-typedef struct {
- SysBusDevice parent_obj;
-
- PCNetState state;
-} SysBusPCNetState;
static void parent_lance_reset(void *opaque, int irq, int level)
{