From: Kevin O'Connor <kevin@koconnor.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCHv2 3/5] sdhci: Define SDHCI PCI ids
Date: Fri, 21 Nov 2014 12:39:34 -0500 [thread overview]
Message-ID: <1416591576-10341-4-git-send-email-kevin@koconnor.net> (raw)
In-Reply-To: <1416591576-10341-1-git-send-email-kevin@koconnor.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
docs/specs/pci-ids.txt | 2 ++
include/hw/pci/pci.h | 1 +
include/hw/pci/pci_ids.h | 1 +
3 files changed, 4 insertions(+)
diff --git a/docs/specs/pci-ids.txt b/docs/specs/pci-ids.txt
index 3c65e1a..9b57d5e 100644
--- a/docs/specs/pci-ids.txt
+++ b/docs/specs/pci-ids.txt
@@ -44,6 +44,8 @@ PCI devices (other than virtio):
1b36:0002 PCI serial port (16550A) adapter (docs/specs/pci-serial.txt)
1b36:0003 PCI Dual-port 16550A adapter (docs/specs/pci-serial.txt)
1b36:0004 PCI Quad-port 16550A adapter (docs/specs/pci-serial.txt)
+1b36:0005 PCI test device (docs/specs/pci-testdev.txt)
+1b36:0006 PCI SD Card Host Controller Interface (SDHCI)
All these devices are documented in docs/specs.
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
index c352c7b..97e4257 100644
--- a/include/hw/pci/pci.h
+++ b/include/hw/pci/pci.h
@@ -88,6 +88,7 @@
#define PCI_DEVICE_ID_REDHAT_SERIAL2 0x0003
#define PCI_DEVICE_ID_REDHAT_SERIAL4 0x0004
#define PCI_DEVICE_ID_REDHAT_TEST 0x0005
+#define PCI_DEVICE_ID_REDHAT_SDHCI 0x0006
#define PCI_DEVICE_ID_REDHAT_QXL 0x0100
#define FMT_PCIBUS PRIx64
diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h
index 321d622..d7be386 100644
--- a/include/hw/pci/pci_ids.h
+++ b/include/hw/pci/pci_ids.h
@@ -31,6 +31,7 @@
#define PCI_CLASS_MEMORY_RAM 0x0500
+#define PCI_CLASS_SYSTEM_SDHCI 0x0805
#define PCI_CLASS_SYSTEM_OTHER 0x0880
#define PCI_CLASS_SERIAL_USB 0x0c03
--
1.9.3
next prev parent reply other threads:[~2014-11-21 17:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 17:39 [Qemu-devel] [PATCHv2 0/5] Add support for SDHCI PCI devices Kevin O'Connor
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 1/5] sdhci: Remove class "virtual" methods Kevin O'Connor
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 2/5] sdhci: Add "sysbus" to sdhci QOM types and methods Kevin O'Connor
2014-11-21 17:39 ` Kevin O'Connor [this message]
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 4/5] sdhci: Support SDHCI devices on PCI Kevin O'Connor
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 5/5] sdhci: Set a default frequency clock Kevin O'Connor
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=1416591576-10341-4-git-send-email-kevin@koconnor.net \
--to=kevin@koconnor.net \
--cc=qemu-devel@nongnu.org \
/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).