Patchwork [09/12] ide: 'secondary' field is only used by cmd646

login
register
mail settings
Submitter Juan Quintela
Date Oct. 7, 2009, 2:56 p.m.
Message ID <e69e481b3a05f9c5144a258eb35987d16da4ef84.1254927187.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/35303/
State Under Review
Headers show

Comments

Juan Quintela - Oct. 7, 2009, 2:56 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/ide/pci.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/ide/pci.h b/hw/ide/pci.h
index 690d057..9377503 100644
--- a/hw/ide/pci.h
+++ b/hw/ide/pci.h
@@ -7,7 +7,7 @@  typedef struct PCIIDEState {
     PCIDevice dev;
     IDEBus bus[2];
     BMDMAState bmdma[2];
-    uint32_t secondary;
+    uint32_t secondary; /* used only for cmd646 */
 } PCIIDEState;

 void bmdma_cmd_writeb(void *opaque, uint32_t addr, uint32_t val);