Received: from eggs.gnu.org ([209.51.188.92]:54142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFxoH-0005qL-RY for qemu-devel@nongnu.org; Mon, 15 Apr 2019 05:21:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFxoH-0004mJ-4A for qemu-devel@nongnu.org; Mon, 15 Apr 2019 05:21:53 -0400 References: <1555103178-21894-1-git-send-email-atar4qemu@gmail.com> <1555103178-21894-2-git-send-email-atar4qemu@gmail.com> From: Paolo Bonzini Message-ID: Date: Mon, 15 Apr 2019 11:21:33 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/4] lsi53c895a: hide 53c895a registers in 53c810 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko , =?UTF-8?Q?Herv=c3=a9_Poussineau?= Cc: qemu-devel , "open list:PReP" , Fam Zheng On 14/04/19 20:36, Artyom Tarasenko wrote: >> You can probably remove this change, and replace it by >> uint16_t type = PCI_DEVICE_GET_CLASS(dev)->device_id; > Brilliant! Will do in V2, thainks. Either that, or you could keep the current structure and make mmio_size the last parameter of lsi_scsi_realize. Paolo