hw/acpi: remove dead acpi code
Signed-off-by: Aleksandr Bezzubikov <zuban32s@gmail.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
		
				
					committed by
					
						
						Michael S. Tsirkin
					
				
			
			
				
	
			
			
			
						parent
						
							3c1aa733d9
						
					
				
				
					commit
					4d7e7f2702
				
			@@ -1912,16 +1912,6 @@ build_dsdt(GArray *table_data, BIOSLinker *linker,
 | 
			
		||||
        build_piix4_pci_hotplug(dsdt);
 | 
			
		||||
        build_piix4_pci0_int(dsdt);
 | 
			
		||||
    } else {
 | 
			
		||||
        sb_scope = aml_scope("_SB");
 | 
			
		||||
        aml_append(sb_scope,
 | 
			
		||||
            aml_operation_region("PCST", AML_SYSTEM_IO, aml_int(0xae00), 0x0c));
 | 
			
		||||
        aml_append(sb_scope,
 | 
			
		||||
            aml_operation_region("PCSB", AML_SYSTEM_IO, aml_int(0xae0c), 0x01));
 | 
			
		||||
        field = aml_field("PCSB", AML_ANY_ACC, AML_NOLOCK, AML_WRITE_AS_ZEROS);
 | 
			
		||||
        aml_append(field, aml_named_field("PCIB", 8));
 | 
			
		||||
        aml_append(sb_scope, field);
 | 
			
		||||
        aml_append(dsdt, sb_scope);
 | 
			
		||||
 | 
			
		||||
        sb_scope = aml_scope("_SB");
 | 
			
		||||
        dev = aml_device("PCI0");
 | 
			
		||||
        aml_append(dev, aml_name_decl("_HID", aml_eisaid("PNP0A08")));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user