qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 5/7] hw/ide: Extract bmdma_status_writeb()


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 5/7] hw/ide: Extract bmdma_status_writeb()
Date: Wed, 31 May 2023 23:21:18 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 31/5/23 23:10, Bernhard Beschow wrote:
Every TYPE_PCI_IDE device performs the same not-so-trivial bit manipulation by
copy'n'paste code. Extract this into bmdma_status_writeb(), mirroring
bmdma_cmd_writeb().

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
---
  include/hw/ide/pci.h | 1 +
  hw/ide/cmd646.c      | 2 +-
  hw/ide/pci.c         | 5 +++++
  hw/ide/piix.c        | 2 +-
  hw/ide/sii3112.c     | 6 ++----
  hw/ide/via.c         | 2 +-
  6 files changed, 11 insertions(+), 7 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]