summaryrefslogtreecommitdiff
path: root/hw/ide/pci.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 16:56:25 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-12 09:42:30 -0500
commit58c0e7326e3396c2a0f8734f852cee5ecdf13047 (patch)
tree5e62f7dfc1d52b68a3d56fc928401abf5d95ec1c /hw/ide/pci.h
parent4c3df0ecc2e6a73440c9b934e33e3ed6e74c1153 (diff)
downloadqemu-58c0e7326e3396c2a0f8734f852cee5ecdf13047.tar.gz
ide: PCIIDEState type field is not needed anymore
We have split the functions that needed it for cmd646 Patchworks-ID: 35302 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/pci.h')
-rw-r--r--hw/ide/pci.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/ide/pci.h b/hw/ide/pci.h
index 063ae96c76..690d0579a6 100644
--- a/hw/ide/pci.h
+++ b/hw/ide/pci.h
@@ -3,15 +3,10 @@
#include <hw/ide/internal.h>
-#define IDE_TYPE_PIIX3 0
-#define IDE_TYPE_CMD646 1
-#define IDE_TYPE_PIIX4 2
-
typedef struct PCIIDEState {
PCIDevice dev;
IDEBus bus[2];
BMDMAState bmdma[2];
- int type; /* see IDE_TYPE_xxx */
uint32_t secondary;
} PCIIDEState;