From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT2NS-0007my-6T for qemu-devel@nongnu.org; Wed, 13 Jun 2018 05:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fT2NO-0006Yr-92 for qemu-devel@nongnu.org; Wed, 13 Jun 2018 05:47:42 -0400 Received: from chuckie.co.uk ([82.165.15.123]:60040 helo=s16892447.onlinehome-server.info) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fT2NO-0006X1-1L for qemu-devel@nongnu.org; Wed, 13 Jun 2018 05:47:38 -0400 From: Mark Cave-Ayland Date: Wed, 13 Jun 2018 10:47:25 +0100 Message-Id: <20180613094727.11326-1-mark.cave-ayland@ilande.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/2] scsi: remove legacy esp_init() function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, hpoussin@reactos.org, pbonzini@redhat.com, famz@redhat.com Something else that came out of reviewing Laurent's q800 patchset: after my SPARC cleanups last year, MIPS Jazz is the last remaining user of the legacy esp_init() function. Patch 1 switches mips_jazz_init() over to create the ESP device directly via qdev. Please note that I do not have any MIPS jazz images and so this is compile-tested only (although passes "make check") and needs an ACK from someone (Hervé?). Now that the last user of esp_init() is gone, patch 2 removes the legacy function and its associated header. Signed-off-by: Mark Cave-Ayland Mark Cave-Ayland (2): hw/mips/jazz: create ESP device directly via qdev esp: remove legacy esp_init() function hw/mips/mips_jazz.c | 19 ++++++++++++++++--- hw/scsi/esp.c | 30 ------------------------------ include/hw/scsi/esp.h | 5 ----- 3 files changed, 16 insertions(+), 38 deletions(-) -- 2.11.0