From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxRco-0003uC-E7 for qemu-devel@nongnu.org; Wed, 28 Nov 2007 13:27:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxRcm-0003tD-QW for qemu-devel@nongnu.org; Wed, 28 Nov 2007 13:27:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxRcm-0003tA-LX for qemu-devel@nongnu.org; Wed, 28 Nov 2007 13:27:04 -0500 Received: from tapir.sajinet.com.pe ([66.139.79.212]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IxRcm-00068M-DU for qemu-devel@nongnu.org; Wed, 28 Nov 2007 13:27:04 -0500 Date: Wed, 28 Nov 2007 12:33:12 -0600 From: Carlo Marcelo Arenas Belon Message-ID: <20071128183312.GE3757@tapir> References: <20071128180630.GA351@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071128180630.GA351@tapir> Subject: [Qemu-devel] [PATCH 5/5] qemu: piix_pci: remove 82371FB support Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org This patch removes support for 82371FB Step A1 (AKA triton) chips as they are superseded by 82371SB and are currently dead code as all other references were removed already from ide.c since revision 1.57 Signed-off-by: Carlo Marcelo Arenas Belon --- qemu/hw/piix_pci.c | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) diff --git a/qemu/hw/piix_pci.c b/qemu/hw/piix_pci.c index 3c04e3a..f40dad9 100644 --- a/qemu/hw/piix_pci.c +++ b/qemu/hw/piix_pci.c @@ -311,31 +311,6 @@ static int piix_load(QEMUFile* f, void *opaque, int version_id) return pci_device_load(d, f); } -int piix_init(PCIBus *bus, int devfn) -{ - PCIDevice *d; - uint8_t *pci_conf; - - d = pci_register_device(bus, "PIIX", sizeof(PCIDevice), - devfn, NULL, NULL); - register_savevm("PIIX", 0, 2, piix_save, piix_load, d); - - piix3_dev = d; - pci_conf = d->config; - - pci_conf[0x00] = 0x86; // Intel - pci_conf[0x01] = 0x80; - pci_conf[0x02] = 0x2E; // 82371FB PIIX PCI-to-ISA bridge - pci_conf[0x03] = 0x12; - pci_conf[0x08] = 0x02; // Step A1 - pci_conf[0x0a] = 0x01; // class_sub = PCI_ISA - pci_conf[0x0b] = 0x06; // class_base = PCI_bridge - pci_conf[0x0e] = 0x80; // header_type = PCI_multifunction, generic - - piix3_reset(d); - return d->devfn; -} - int piix3_init(PCIBus *bus, int devfn) { PCIDevice *d; -- 1.5.2.5