qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/4] alpha: Set minimum PCI device ID to 1 to match Clipper I


From: Richard Henderson
Subject: Re: [PATCH 2/4] alpha: Set minimum PCI device ID to 1 to match Clipper IRQ mappings.
Date: Mon, 14 Jun 2021 21:03:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 6/13/21 2:15 PM, Jason Thorpe wrote:
Since we are emulating a Clipper device topology, we need to set the
minimum PCI device ID to 1, as there is no IRQ mapping for a device
at ID 0 (see sys_dp264.c:clipper_map_irq()).

- Add a 'devfn_min' argument to typhoon_init().  Pass that argument
   along to pci_register_root_bus().
- In clipper_init(), pass PCI_DEVFN(1, 0) as the minimum PCI device
   ID/function.

Signed-off-by: Jason Thorpe<thorpej@me.com>
---
  hw/alpha/alpha_sys.h | 2 +-
  hw/alpha/dp264.c     | 5 +++--
  hw/alpha/typhoon.c   | 5 +++--
  3 files changed, 7 insertions(+), 5 deletions(-)

Thanks, queued.

r~



reply via email to

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