Revision 47c06340 hw/ide/internal.h

b/hw/ide/internal.h
397 397
    /* set for lba48 access */
398 398
    uint8_t lba48;
399 399
    BlockDriverState *bs;
400
    char version[9];
400 401
    /* ATAPI specific */
401 402
    uint8_t sense_key;
402 403
    uint8_t asc;
......
449 450
    DeviceState qdev;
450 451
    uint32_t unit;
451 452
    DriveInfo *dinfo;
453
    char *version;
452 454
};
453 455

  
454 456
typedef int (*ide_qdev_initfn)(IDEDevice *dev);
......
549 551
void ide_data_writel(void *opaque, uint32_t addr, uint32_t val);
550 552
uint32_t ide_data_readl(void *opaque, uint32_t addr);
551 553

  
552
void ide_init_drive(IDEState *s, DriveInfo *dinfo);
554
void ide_init_drive(IDEState *s, DriveInfo *dinfo, const char *version);
553 555
void ide_init2(IDEBus *bus, DriveInfo *hd0, DriveInfo *hd1,
554 556
               qemu_irq irq);
555 557
void ide_init_ioport(IDEBus *bus, int iobase, int iobase2);

Also available in: Unified diff