~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to hw/usb/dev-serial.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
483
483
{
484
484
    USBSerialState *s = USB_SERIAL_DEV(dev);
485
485
    Error *local_err = NULL;
486
 
    CharDriverState *chr = qemu_chr_fe_get_driver(&s->cs);
 
486
    Chardev *chr = qemu_chr_fe_get_driver(&s->cs);
487
487
 
488
488
    usb_desc_create_serial(dev);
489
489
    usb_desc_init(dev);
512
512
static USBDevice *usb_serial_init(USBBus *bus, const char *filename)
513
513
{
514
514
    USBDevice *dev;
515
 
    CharDriverState *cdrv;
 
515
    Chardev *cdrv;
516
516
    uint32_t vendorid = 0, productid = 0;
517
517
    char label[32];
518
518
    static int index;
564
564
static USBDevice *usb_braille_init(USBBus *bus, const char *unused)
565
565
{
566
566
    USBDevice *dev;
567
 
    CharDriverState *cdrv;
 
567
    Chardev *cdrv;
568
568
 
569
569
    cdrv = qemu_chr_new("braille", "braille");
570
570
    if (!cdrv)