From patchwork Tue Jan 22 12:39:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 1029482 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43kdTz2rCQz9s3l for ; Wed, 23 Jan 2019 06:17:43 +1100 (AEDT) Received: from localhost ([127.0.0.1]:47683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm1YL-0003tW-79 for incoming@patchwork.ozlabs.org; Tue, 22 Jan 2019 14:17:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm1CJ-0002fX-NQ for qemu-devel@nongnu.org; Tue, 22 Jan 2019 13:54:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm1CF-0001LB-RI for qemu-devel@nongnu.org; Tue, 22 Jan 2019 13:54:55 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]:16219) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gm1C4-0000xD-ST; Tue, 22 Jan 2019 13:54:42 -0500 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 8510C7456BB; Tue, 22 Jan 2019 13:55:54 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 6EA5A7456B2; Tue, 22 Jan 2019 13:55:54 +0100 (CET) Message-Id: From: BALATON Zoltan Date: Tue, 22 Jan 2019 13:39:32 +0100 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 Subject: [Qemu-devel] [PATCH 0/3] via-ide clean ups and native mode X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hello, This implements native PCI ATA mode for via-ida device model which is what most guests expect and want to use instead of the current legacy compatibility mode which nothing seems to depend on. Also rename some functions to via_ide to make this device truely independent from the VIA 82C686B chip as it can be used independently as well. This is on top of my previous CMD646 cleanup series. Regards, BALATON Zoltan BALATON Zoltan (3): ide/via: Remove vt82c686b_init_ports() function ide/via: Rename functions to match device name ide/via: Implement and use native PCI IDE mode hw/ide/via.c | 87 ++++++++++++++++++++++++++++++------------------- hw/mips/mips_fulong2e.c | 2 +- include/hw/ide.h | 2 +- 3 files changed, 55 insertions(+), 36 deletions(-)