[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 2b7a050] We need PCINE2000State for save/load fun
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 2b7a050] We need PCINE2000State for save/load functions |
Date: |
Fri, 28 Aug 2009 02:20:10 -0000 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 044e3a9..32b9e70 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)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 2b7a050] We need PCINE2000State for save/load functions,
Anthony Liguori <=