Revision 51387f86 hw/bonito.c

b/hw/bonito.c
691 691
    PCIBonitoState *s = DO_UPCAST(PCIBonitoState, dev, dev);
692 692

  
693 693
    /* Bonito North Bridge, built on FPGA, VENDOR_ID/DEVICE_ID are "undefined" */
694
    pci_config_set_vendor_id(dev->config, 0xdf53);
695
    pci_config_set_device_id(dev->config, 0x00d5);
696
    pci_config_set_class(dev->config, PCI_CLASS_BRIDGE_HOST);
697 694
    pci_config_set_prog_interface(dev->config, 0x00);
698
    pci_config_set_revision(dev->config, 0x01);
699 695

  
700 696
    /* set the north bridge register mapping */
701 697
    s->bonito_reg_handle = cpu_register_io_memory(bonito_read, bonito_write, s,
......
796 792
    .qdev.vmsd    = &vmstate_bonito,
797 793
    .qdev.no_user = 1,
798 794
    .init         = bonito_initfn,
795
    /*Bonito North Bridge, built on FPGA, VENDOR_ID/DEVICE_ID are "undefined"*/
796
    .vendor_id    = 0xdf53,
797
    .device_id    = 0x00d5,
798
    .revision     = 0x01,
799
    .class_id     = PCI_CLASS_BRIDGE_HOST,
799 800
};
800 801

  
801 802
static SysBusDeviceInfo bonito_pcihost_info = {

Also available in: Unified diff