From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:38030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghlYr-0006R4-Sp for qemu-devel@nongnu.org; Thu, 10 Jan 2019 20:24:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghlYq-0000t0-2D for qemu-devel@nongnu.org; Thu, 10 Jan 2019 20:24:37 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]:50521) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghlYo-0000lH-Bd for qemu-devel@nongnu.org; Thu, 10 Jan 2019 20:24:35 -0500 Message-Id: From: BALATON Zoltan Date: Fri, 11 Jan 2019 01:36:00 +0100 Subject: [Qemu-devel] [PATCH 0/5] Refactor common PCI IDE functions from CMD646 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: John Snow , Mark Cave-Ayland , Richard Henderson Hello, This series is a small refactoring that moves some common PCI IDE io mem ops functions from the CMD646 model to the PCI IDE model so a CMD646 specific type can be dropped from PCIIDEState, removes code duplication from SiI3112 model (also fixing a bug) and allows these functions to be used by future PCI IDE implementations. Also cc'd Mark and Richard because the CMD646 seems to be used by Sparc, HPPA and Alpha machines. Regards, BALATON Zoltan BALATON Zoltan (5): cmd646: Remove unused variable cmd646: Remove IDEBus from CMD646BAR cmd646: Move PCI IDE specific functions to ide/pci.c ide: Get rid of CMD646BAR struct sii3112: Remove duplicated code and use PCI IDE ops instead hw/ide/cmd646.c | 102 ++++++++------------------------------------------- hw/ide/pci.c | 65 ++++++++++++++++++++++++++++++++ hw/ide/sii3112.c | 52 ++++---------------------- include/hw/ide/pci.h | 14 ++----- 4 files changed, 93 insertions(+), 140 deletions(-) -- 2.13.7