diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-24 18:42:52 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:47:00 -0500 |
commit | 2b7a050abd98c8ef23514a78cc9191baa4ac3177 (patch) | |
tree | 736c59b9e5f53b4a20942918e9adbd9d039c5fc2 /hw/ne2000.c | |
parent | 377a7f0694f1d119169665e6f3f85b14f588a1ec (diff) |
We need PCINE2000State for save/load functions
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ne2000.c')
-rw-r--r-- | hw/ne2000.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c index 044e3a9346..32b9e7086d 100644 --- a/hw/ne2000.c +++ b/hw/ne2000.c @@ -147,6 +147,11 @@ typedef struct NE2000State { uint8_t mem[NE2000_MEM_SIZE]; } NE2000State; +typedef struct PCINE2000State { + PCIDevice dev; + NE2000State ne2000; +} PCINE2000State; + static void ne2000_reset(NE2000State *s) { int i; @@ -771,11 +776,6 @@ void isa_ne2000_init(int base, qemu_irq irq, NICInfo *nd) /***********************************************************/ /* PCI NE2000 definitions */ -typedef struct PCINE2000State { - PCIDevice dev; - NE2000State ne2000; -} PCINE2000State; - static void ne2000_map(PCIDevice *pci_dev, int region_num, uint32_t addr, uint32_t size, int type) { |