Revision 6ced55a5 hw/ide/internal.h

b/hw/ide/internal.h
457 457
    uint32_t unit;
458 458
    BlockConf conf;
459 459
    char *version;
460
    char *serial;
460 461
};
461 462

  
462 463
typedef int (*ide_qdev_initfn)(IDEDevice *dev);
......
554 555
void ide_data_writel(void *opaque, uint32_t addr, uint32_t val);
555 556
uint32_t ide_data_readl(void *opaque, uint32_t addr);
556 557

  
557
void ide_init_drive(IDEState *s, DriveInfo *dinfo, const char *version);
558
void ide_init_drive(IDEState *s, DriveInfo *dinfo,
559
                    const char *version, const char *serial);
558 560
void ide_init2(IDEBus *bus, qemu_irq irq);
559 561
void ide_init2_with_non_qdev_drives(IDEBus *bus, DriveInfo *hd0,
560 562
                                    DriveInfo *hd1, qemu_irq irq);

Also available in: Unified diff