~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to hw/versatile_pci.c

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno, Aurelien Jarno
  • Date: 2009-03-22 10:13:17 UTC
  • mfrom: (1.2.1 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090322101317-iigjtnu5qil35dtb
Tags: 0.10.1-1
[ Aurelien Jarno ]
* New upstream stable release:
  - patches/80_stable-branch.patch: remove.
* debian/control: 
  - Remove depends on proll.
  - Move depends on device-tree-compiler to build-depends.
  - Bump Standards-Version to 3.8.1 (no changes).
* patches/82_qemu-img_decimal.patch: new patch from upstream to make
  qemu-img accept sizes with decimal values (closes: bug#501400).

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        isa_mmio_init(base + 0x03000000, 0x00100000);
125
125
    }
126
126
 
127
 
    d->config[0x00] = 0xee; // vendor_id
128
 
    d->config[0x01] = 0x10;
 
127
    pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_XILINX);
129
128
    /* Both boards have the same device ID.  Oh well.  */
130
 
    d->config[0x02] = 0x00; // device_id
131
 
    d->config[0x03] = 0x03;
 
129
    pci_config_set_device_id(d->config, 0x0300); // device_id
132
130
    d->config[0x04] = 0x00;
133
131
    d->config[0x05] = 0x00;
134
132
    d->config[0x06] = 0x20;
135
133
    d->config[0x07] = 0x02;
136
134
    d->config[0x08] = 0x00; // revision
137
135
    d->config[0x09] = 0x00; // programming i/f
138
 
    d->config[0x0A] = 0x40; // class_sub = pci host
139
 
    d->config[0x0B] = 0x0b; // class_base = PCI_bridge
 
136
    pci_config_set_class(d->config, PCI_CLASS_PROCESSOR_CO);
140
137
    d->config[0x0D] = 0x10; // latency_timer
141
138
 
142
139
    return s;
143
140
}
144