[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/8] Misc hw/ide legacy clean up
From: |
Mark Cave-Ayland |
Subject: |
Re: [PATCH 0/8] Misc hw/ide legacy clean up |
Date: |
Sat, 14 Mar 2020 11:45:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 13/03/2020 21:14, BALATON Zoltan wrote:
> These are some clean ups to remove more legacy init functions and
> lessen dependence on include/hw/ide.h with some simplifications in
> board code. There should be no functional change.
>
> BALATON Zoltan (8):
> hw/ide: Get rid of piix3_init functions
> hw/ide: Get rid of piix4_init function
> hw/ide: Remove now unneded #include "hw/pci/pci.h" from hw/ide.h
> hw/ide: Move MAX_IDE_BUS define to one header
> hw/ide/pci.c: Coding style update to fix checkpatch errors
> hw/ide: Do ide_drive_get() within pci_ide_create_devs()
> hw/ide: Move MAX_IDE_DEVS define to hw/ide/internal.h
> hw/ide: Remove unneeded inclusion of hw/ide.h
>
> hw/alpha/dp264.c | 15 +++------------
> hw/hppa/hppa_sys.h | 1 -
> hw/hppa/machine.c | 3 ---
> hw/i386/pc_piix.c | 20 +++++++++-----------
> hw/ide/ahci_internal.h | 1 +
> hw/ide/pci.c | 10 ++++++----
> hw/ide/piix.c | 31 +------------------------------
> hw/isa/piix4.c | 14 +++++---------
> hw/mips/mips_fulong2e.c | 6 +-----
> hw/mips/mips_malta.c | 6 ++----
> hw/mips/mips_r4k.c | 4 +---
> hw/ppc/mac_newworld.c | 2 --
> hw/ppc/mac_oldworld.c | 2 --
> hw/ppc/prep.c | 3 ---
> hw/sparc64/sun4u.c | 7 +------
> include/hw/ide.h | 6 ------
> include/hw/ide/internal.h | 3 +++
> include/hw/ide/pci.h | 3 ++-
> include/hw/misc/macio/macio.h | 1 +
> include/hw/southbridge/piix.h | 3 +--
> 20 files changed, 37 insertions(+), 104 deletions(-)
This looks like a good clean-up to me, but certainly it would be good to get a
second
opinion from people more familiar with the IDE code internals.
Reviewed-by: Mark Cave-Ayland <address@hidden>
ATB,
Mark.
- Re: [PATCH 4/8] hw/ide: Move MAX_IDE_BUS define to one header, (continued)
Re: [PATCH 0/8] Misc hw/ide legacy clean up,
Mark Cave-Ayland <=
Re: [PATCH 0/8] Misc hw/ide legacy clean up, Markus Armbruster, 2020/03/16
[PATCH v2] hw/ide: Move MAX_IDE_DEVS define to hw/ide/internal.h, BALATON Zoltan, 2020/03/16
[PATCH v2] hw/ide: Do ide_drive_get() within pci_ide_create_devs(), BALATON Zoltan, 2020/03/16