Diff for /qemu/hw/versatile_pci.c between versions 1.1.1.8 and 1.1.1.9

version 1.1.1.8, 2018/04/24 18:37:37 version 1.1.1.9, 2018/04/24 18:59:38
Line 4 Line 4
  * Copyright (c) 2006-2009 CodeSourcery.   * Copyright (c) 2006-2009 CodeSourcery.
  * Written by Paul Brook   * Written by Paul Brook
  *   *
  * This code is licenced under the LGPL.   * This code is licensed under the LGPL.
  */   */
   
 #include "sysbus.h"  #include "sysbus.h"
Line 133  static int pci_realview_init(SysBusDevic Line 133  static int pci_realview_init(SysBusDevic
   
 static int versatile_pci_host_init(PCIDevice *d)  static int versatile_pci_host_init(PCIDevice *d)
 {  {
     pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_XILINX);  
     /* Both boards have the same device ID.  Oh well.  */  
     pci_config_set_device_id(d->config, PCI_DEVICE_ID_XILINX_XC2VP30);  
     pci_set_word(d->config + PCI_STATUS,      pci_set_word(d->config + PCI_STATUS,
                  PCI_STATUS_66MHZ | PCI_STATUS_DEVSEL_MEDIUM);                   PCI_STATUS_66MHZ | PCI_STATUS_DEVSEL_MEDIUM);
     pci_config_set_class(d->config, PCI_CLASS_PROCESSOR_CO);  
     pci_set_byte(d->config + PCI_LATENCY_TIMER, 0x10);      pci_set_byte(d->config + PCI_LATENCY_TIMER, 0x10);
     return 0;      return 0;
 }  }
Line 147  static PCIDeviceInfo versatile_pci_host_ Line 143  static PCIDeviceInfo versatile_pci_host_
     .qdev.name = "versatile_pci_host",      .qdev.name = "versatile_pci_host",
     .qdev.size = sizeof(PCIDevice),      .qdev.size = sizeof(PCIDevice),
     .init      = versatile_pci_host_init,      .init      = versatile_pci_host_init,
       .vendor_id = PCI_VENDOR_ID_XILINX,
       /* Both boards have the same device ID.  Oh well.  */
       .device_id = PCI_DEVICE_ID_XILINX_XC2VP30,
       .class_id  = PCI_CLASS_PROCESSOR_CO,
 };  };
   
 static void versatile_pci_register_devices(void)  static void versatile_pci_register_devices(void)

Removed from v.1.1.1.8  
changed lines
  Added in v.1.1.1.9


unix.superglobalmegacorp.com