qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 01/18] hw/pci-host/bonito: Remove unused definitions


From: Huacai Chen
Subject: Re: [PATCH 01/18] hw/pci-host/bonito: Remove unused definitions
Date: Sun, 3 Jan 2021 09:37:55 +0800

Reviewed-by: Huacai Chen <chenhuacai@kernel.org>

On Fri, Jan 1, 2021 at 6:49 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/pci-host/bonito.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c
> index a99eced0657..0634f3289c4 100644
> --- a/hw/pci-host/bonito.c
> +++ b/hw/pci-host/bonito.c
> @@ -189,12 +189,6 @@ FIELD(BONGENCFG, PCIQUEUE,      12, 1)
>  #define BONITO_PCICONF_REG_MASK        0xFC
>  #define BONITO_PCICONF_REG_OFFSET      0
>
> -
> -/* idsel BIT = pci slot number +12 */
> -#define PCI_SLOT_BASE              12
> -#define PCI_IDSEL_VIA686B_BIT      (17)
> -#define PCI_IDSEL_VIA686B          (1 << PCI_IDSEL_VIA686B_BIT)
> -
>  #define PCI_ADDR(busno , devno , funno , regno)  \
>      ((((busno) << 16) & 0xff0000) + (((devno) << 11) & 0xf800) + \
>      (((funno) << 8) & 0x700) + (regno))
> --
> 2.26.2
>



reply via email to

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