Patchwork [08/13] pci: add ich7 pci id

login
register
mail settings
Submitter Alexander Graf
Date Dec. 8, 2010, 12:13 p.m.
Message ID <1291810400-11309-9-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/74690/
State New
Headers show

Comments

Alexander Graf - Dec. 8, 2010, 12:13 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-7 AHCI adapter.

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

---

v3 -> v4:

  - add ICH7 instead of ICH7M (herbszt)

v4 -> v5:

  - rename to ICH7_AHCI_RAID (herbszt)

v6 -> v7:

  - use non-raid ich7 ahci (herbszt)
---
 hw/pci.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/pci.h b/hw/pci.h
index 89f7b76..0dce2b0 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    0x27c1
 
 /* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */
 #define PCI_VENDOR_ID_REDHAT_QUMRANET    0x1af4