[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [for-2.12 5/7] pci: Add pci_dev_bus_num() helper
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [for-2.12 5/7] pci: Add pci_dev_bus_num() helper |
Date: |
Thu, 30 Nov 2017 14:42:01 +0800 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
On Wed, Nov 29, 2017 at 07:46:26PM +1100, David Gibson wrote:
> A fair proportion of the users of pci_bus_num() want to get the bus
> number on a specific device, so first have to look up the bus from the
> device then call it. This adds a helper to do that (since we're going
> to make looking up the bus slightly more verbose).
>
> Signed-off-by: David Gibson <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
--
Peter Xu
- Re: [Qemu-devel] [for-2.12 4/7] pci: Simplify pci_bus_is_root(), (continued)
- [Qemu-devel] [for-2.12 2/7] pci: Move bridge data structures from pci_bus.h to pci_bridge.h, David Gibson, 2017/11/29
- [Qemu-devel] [for-2.12 5/7] pci: Add pci_dev_bus_num() helper, David Gibson, 2017/11/29
- [Qemu-devel] [for-2.12 1/7] pci: Rename root bus initialization functions for clarity, David Gibson, 2017/11/29
- [Qemu-devel] [for-2.12 7/7] pci: Eliminate pci_find_primary_bus(), David Gibson, 2017/11/29
- [Qemu-devel] [for-2.12 6/7] pci: Eliminate redundant PCIDevice::bus pointer, David Gibson, 2017/11/29