From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
ard.biesheuvel@linaro.org, rob.herring@linaro.org,
mst@redhat.com, claudio.fontana@huawei.com,
stuart.yoder@freescale.com, a.rigo@virtualopensystems.com
Subject: [Qemu-devel] [PATCH v4 1/4] pci: Allocate PCIe host bridge PCI ID
Date: Thu, 5 Feb 2015 15:55:37 +0100 [thread overview]
Message-ID: <1423148140-93672-2-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1423148140-93672-1-git-send-email-agraf@suse.de>
We are going to introduce a PCIe host controller that doesn't exist that
way in real hardware, but still needs to expose some PCIe root device which
has PCI IDs.
Allocate a PCI ID in the Red Hat space that we use for other devices of this
kind.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
include/hw/pci/pci.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
index 97a83d3..bdee464 100644
--- a/include/hw/pci/pci.h
+++ b/include/hw/pci/pci.h
@@ -89,6 +89,7 @@
#define PCI_DEVICE_ID_REDHAT_SERIAL4 0x0004
#define PCI_DEVICE_ID_REDHAT_TEST 0x0005
#define PCI_DEVICE_ID_REDHAT_SDHCI 0x0007
+#define PCI_DEVICE_ID_REDHAT_PCIE_HOST 0x0008
#define PCI_DEVICE_ID_REDHAT_QXL 0x0100
#define FMT_PCIBUS PRIx64
--
1.7.12.4
next prev parent reply other threads:[~2015-02-05 14:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-05 14:55 [Qemu-devel] [PATCH v4 0/4] ARM: Add support for a generic PCI Express host bridge Alexander Graf
2015-02-05 14:55 ` Alexander Graf [this message]
2015-02-05 15:03 ` [Qemu-devel] [PATCH v4 1/4] pci: Allocate PCIe host bridge PCI ID Peter Maydell
2015-02-05 14:55 ` [Qemu-devel] [PATCH v4 2/4] pci: Add generic PCIe host bridge Alexander Graf
2015-02-05 15:30 ` Peter Maydell
2015-02-05 14:55 ` [Qemu-devel] [PATCH v4 3/4] arm: Add PCIe host bridge in virt machine Alexander Graf
2015-02-05 15:49 ` Peter Maydell
2015-02-05 14:55 ` [Qemu-devel] [PATCH v4 4/4] pci: Move PCI VGA to pci.mak Alexander Graf
2015-02-05 15:03 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1423148140-93672-2-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=a.rigo@virtualopensystems.com \
--cc=ard.biesheuvel@linaro.org \
--cc=claudio.fontana@huawei.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rob.herring@linaro.org \
--cc=stuart.yoder@freescale.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).