From patchwork Tue Mar 17 15:05:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 1256515 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=eik.bme.hu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48hcCj1GCjz9sPR for ; Wed, 18 Mar 2020 02:14:41 +1100 (AEDT) Received: from localhost ([::1]:34450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEDvT-0007Ce-49 for incoming@patchwork.ozlabs.org; Tue, 17 Mar 2020 11:14:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58631) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEDuf-00077g-T9 for qemu-devel@nongnu.org; Tue, 17 Mar 2020 11:13:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEDue-0001IU-Kl for qemu-devel@nongnu.org; Tue, 17 Mar 2020 11:13:49 -0400 Received: from zero.eik.bme.hu ([152.66.115.2]:49473) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jEDua-0000sV-R0; Tue, 17 Mar 2020 11:13:45 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id C9318747E16; Tue, 17 Mar 2020 16:13:42 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 52231745953; Tue, 17 Mar 2020 16:13:42 +0100 (CET) Message-Id: From: BALATON Zoltan Subject: [PATCH v3 0/8] Misc hw/ide legacy clean up Date: Tue, 17 Mar 2020 16:05:37 +0100 MIME-Version: 1.0 To: qemu-devel@nongnu.org, qemu-block@nongnu.org X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 152.66.115.2 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , "Michael S. Tsirkin" , John Snow , Mark Cave-Ayland , Markus Armbruster , hpoussin@reactos.org, Aleksandar Markovic , Paolo Bonzini , philmd@redhat.com, Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Avoid problems from reassigning variable in piix4_create and fix compilation problem with mips_r4k BALATON Zoltan (8): hw/ide: Get rid of piix3_init functions hw/isa/piix4.c: Introduce variable to store devfn hw/ide: Get rid of piix4_init function hw/ide: Remove now unneded #include "hw/pci/pci.h" from hw/ide.h hw/ide/pci.c: Coding style update to fix checkpatch errors hw/ide: Do ide_drive_get() within pci_ide_create_devs() hw/ide: Move MAX_IDE_DEVS define to hw/ide/internal.h hw/ide: Remove unneeded inclusion of hw/ide.h hw/alpha/dp264.c | 13 +++---------- hw/hppa/hppa_sys.h | 1 - hw/hppa/machine.c | 1 - hw/i386/pc_piix.c | 18 +++++++++--------- hw/ide/ahci_internal.h | 1 + hw/ide/pci.c | 11 +++++++---- hw/ide/piix.c | 31 +------------------------------ hw/isa/piix4.c | 23 ++++++++++------------- hw/mips/mips_fulong2e.c | 5 +---- hw/mips/mips_malta.c | 2 +- hw/mips/mips_r4k.c | 1 + hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/prep.c | 1 - hw/sparc64/sun4u.c | 6 +----- include/hw/ide.h | 6 ------ include/hw/ide/internal.h | 2 ++ include/hw/ide/pci.h | 3 ++- include/hw/misc/macio/macio.h | 1 + include/hw/southbridge/piix.h | 3 +-- 20 files changed, 41 insertions(+), 90 deletions(-)