Revision 10ca2943 hw/ide/ahci.h

b/hw/ide/ahci.h
299 299
    uint32_t idp_index;     /* Current IDP index */
300 300
    int ports;
301 301
    qemu_irq irq;
302
    DMAContext *dma;
302 303
} AHCIState;
303 304

  
304 305
typedef struct AHCIPCIState {
......
329 330
    uint8_t reserved10;
330 331
} QEMU_PACKED NCQFrame;
331 332

  
332
void ahci_init(AHCIState *s, DeviceState *qdev, int ports);
333
void ahci_init(AHCIState *s, DeviceState *qdev, DMAContext *dma, int ports);
333 334
void ahci_uninit(AHCIState *s);
334 335

  
335 336
void ahci_reset(AHCIState *s);

Also available in: Unified diff