qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 02/25] pci: add opaque argument to pci_map_irq_f


From: Alex Williamson
Subject: Re: [Qemu-devel] [PATCH 02/25] pci: add opaque argument to pci_map_irq_fn
Date: Fri, 14 Sep 2012 10:32:46 -0600

On Thu, 2012-09-13 at 16:12 -0400, Jason Baron wrote:
> From: Isaku Yamahata <address@hidden>
> 
> Pass opaque argument to pci_map_irq_fn like pci_set_irq_fn.
> ICH9 irq routing is not static, but configurable by chipset configuration
> registers, so the corresponding irq mapping function of pci_map_irq_fn
> needs to know the pointer to ich9.
> 
> address@hidden: minor tweaks]
> Signed-off-by: Isaku Yamahata <address@hidden>
> Signed-off-by: Jason Baron <address@hidden>
> ---
>  hw/apb_pci.c        |    4 ++--
>  hw/bonito.c         |    2 +-
>  hw/dec_pci.c        |    2 +-
>  hw/grackle_pci.c    |    2 +-
>  hw/gt64xxx.c        |    2 +-
>  hw/pci.c            |    4 ++--
>  hw/pci.h            |    2 +-
>  hw/pci_bridge_dev.c |    2 +-
>  hw/piix_pci.c       |    2 +-
>  hw/ppc4xx_pci.c     |    2 +-
>  hw/ppce500_pci.c    |    2 +-
>  hw/prep_pci.c       |    2 +-
>  hw/sh_pci.c         |    2 +-
>  hw/unin_pci.c       |    2 +-
>  hw/versatile_pci.c  |    2 +-
>  hw/xen.h            |    2 +-
>  xen-all.c           |    2 +-
>  xen-stub.c          |    2 +-
>  18 files changed, 20 insertions(+), 20 deletions(-)

Missed alpha here

diff --git a/hw/alpha_dp264.c b/hw/alpha_dp264.c
index 9eb939f..71b0790 100644
--- a/hw/alpha_dp264.c
+++ b/hw/alpha_dp264.c
@@ -33,7 +33,7 @@ static uint64_t cpu_alpha_superpage_to_phys(void *opaque, uint
     (3) The interrupt number assigned by the kernel.
    The following function is concerned with (1) only.  */
 
-static int clipper_pci_map_irq(PCIDevice *d, int irq_num)
+static int clipper_pci_map_irq(void *opaque, PCIDevice *d, int irq_num)
 {
     int slot = d->devfn >> 3;
 





reply via email to

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