Commit d1781191a557d2334bba9d8ef2207b80714fab6f

Authored by ths
1 parent 089b7c0a

Remove leftover support for 82371FB (Step A1), by Carlo Marcelo Arenas

Belon.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3787 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 25 deletions
hw/piix_pci.c
@@ -314,31 +314,6 @@ static int piix_load(QEMUFile* f, void *opaque, int version_id) @@ -314,31 +314,6 @@ static int piix_load(QEMUFile* f, void *opaque, int version_id)
314 return pci_device_load(d, f); 314 return pci_device_load(d, f);
315 } 315 }
316 316
317 -static int piix_init(PCIBus *bus, int devfn)  
318 -{  
319 - PCIDevice *d;  
320 - uint8_t *pci_conf;  
321 -  
322 - d = pci_register_device(bus, "PIIX", sizeof(PCIDevice),  
323 - devfn, NULL, NULL);  
324 - register_savevm("PIIX", 0, 2, piix_save, piix_load, d);  
325 -  
326 - piix3_dev = d;  
327 - pci_conf = d->config;  
328 -  
329 - pci_conf[0x00] = 0x86; // Intel  
330 - pci_conf[0x01] = 0x80;  
331 - pci_conf[0x02] = 0x2E; // 82371FB PIIX PCI-to-ISA bridge  
332 - pci_conf[0x03] = 0x12;  
333 - pci_conf[0x08] = 0x02; // Step A1  
334 - pci_conf[0x0a] = 0x01; // class_sub = PCI_ISA  
335 - pci_conf[0x0b] = 0x06; // class_base = PCI_bridge  
336 - pci_conf[0x0e] = 0x80; // header_type = PCI_multifunction, generic  
337 -  
338 - piix3_reset(d);  
339 - return d->devfn;  
340 -}  
341 -  
342 int piix3_init(PCIBus *bus, int devfn) 317 int piix3_init(PCIBus *bus, int devfn)
343 { 318 {
344 PCIDevice *d; 319 PCIDevice *d;