Patchwork [07/12] pci: add ich7 pci id

login
register
mail settings
Submitter Alexander Graf
Date Nov. 23, 2010, 2:34 p.m.
Message ID <1290522889-27559-8-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/72671/
State New
Headers show

Comments

Alexander Graf - Nov. 23, 2010, 2:34 p.m.
We need a PCI ID for our new AHCI adapter. I just picked an ICH-7M
because that's the one built into the first Macbooks.

This patch adds a PCI ID define for an ICH-7M AHCI adapter.

Signed-off-by: Alexander Graf <agraf@suse.de>

---

v3 -> v4:

  - add ICH7 instead of ICH7M (herbszt)
---
 hw/pci.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/pci.h b/hw/pci.h
index 7100804..5f49091 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -62,6 +62,7 @@ 
 /* Intel (0x8086) */
 #define PCI_DEVICE_ID_INTEL_82551IT      0x1209
 #define PCI_DEVICE_ID_INTEL_82557        0x1229
+#define PCI_DEVICE_ID_INTEL_ICH7_AHCI    0x27c3
 
 /* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */
 #define PCI_VENDOR_ID_REDHAT_QUMRANET    0x1af4