From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FBFBC433EF for ; Fri, 15 Oct 2021 01:18:10 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2A2B760E09 for ; Fri, 15 Oct 2021 01:18:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2A2B760E09 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=eik.bme.hu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:56268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbBrN-0002hy-6G for qemu-devel@archiver.kernel.org; Thu, 14 Oct 2021 21:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbBqO-0000my-GQ for qemu-devel@nongnu.org; Thu, 14 Oct 2021 21:17:13 -0400 Received: from zero.eik.bme.hu ([2001:738:2001:2001::2001]:15076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbBqH-0006a8-Co for qemu-devel@nongnu.org; Thu, 14 Oct 2021 21:17:07 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 21ACA756062; Fri, 15 Oct 2021 03:16:58 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id B67A2746333; Fri, 15 Oct 2021 03:16:57 +0200 (CEST) Message-Id: From: BALATON Zoltan Subject: [PATCH 0/4] Avoid using isa_get_irq in vt82c686 model Date: Fri, 15 Oct 2021 03:06:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: qemu-devel@nongnu.org Received-SPF: pass client-ip=2001:738:2001:2001::2001; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Huacai Chen , Gerd Hoffmann , Philippe M-D Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Based-on: This is on top of (v4-hw/usb/vt82c686-uhci-pci: Use ISA instead of PCI) series and removes usage of isa_get_irq() from the usb and ide functions. I managed to simplify it so it's not so bad but not sure if it's much better either but maybe groups things a bit better this way. Regards, BALATON Zoltan BALATON Zoltan (4): vt82c686: Move common code to via_isa_realize vt82c686: Add a method to VIA_ISA to raise ISA interrupts hw/usb/vt82c686-uhci-pci: Avoid using isa_get_irq() via-ide: Avoid using isa_get_irq() hw/ide/via.c | 4 +- hw/isa/vt82c686.c | 75 +++++++++++++++++++------------------- hw/usb/vt82c686-uhci-pci.c | 3 +- include/hw/isa/vt82c686.h | 4 ++ 4 files changed, 45 insertions(+), 41 deletions(-) -- 2.21.4