From patchwork Fri Sep 18 11:41:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 48496 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8IBfrLk013800 for ; Fri, 18 Sep 2009 11:41:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756621AbZIRLlq (ORCPT ); Fri, 18 Sep 2009 07:41:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756616AbZIRLlp (ORCPT ); Fri, 18 Sep 2009 07:41:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46415 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756614AbZIRLlo (ORCPT ); Fri, 18 Sep 2009 07:41:44 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8IBflc4004902 for ; Fri, 18 Sep 2009 07:41:48 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8IBfa8l017440; Fri, 18 Sep 2009 07:41:43 -0400 From: Juan Quintela To: kvm@vger.kernel.org Subject: [PATCH 04/24] piix4_dev is not used for pc's Date: Fri, 18 Sep 2009 13:41:13 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org And mips still don't have pci assignment support :) Signed-off-by: Juan Quintela --- Makefile.target | 2 +- hw/piix_pci.c | 3 --- 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/Makefile.target b/Makefile.target index 5fad812..58f8b9e 100644 --- a/Makefile.target +++ b/Makefile.target @@ -209,9 +209,9 @@ obj-i386-y += cirrus_vga.o apic.o ioapic.o parallel.o acpi.o piix_pci.o obj-i386-y += usb-uhci.o vmmouse.o vmport.o vmware_vga.o hpet.o obj-i386-y += device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o obj-i386-y += extboot.o -obj-i386-y += piix4.o obj-i386-y += ne2000-isa.o obj-i386-y += testdev.o + ifeq ($(USE_KVM_PIT), 1) obj-i386-y += i8254-kvm.o endif diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 26e00db..d177e97 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -291,9 +291,6 @@ int piix_get_irq(int pin) { if (piix3_dev) return piix3_dev->dev.config[0x60+pin]; - if (piix4_dev) - return piix4_dev->config[0x60+pin]; - return 0; }