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

login
register
mail settings
Submitter Alexander Graf
Date Dec. 1, 2010, 7:17 p.m.
Message ID <1291231032-21150-8-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/73884/
State New
Headers show

Comments

Alexander Graf - Dec. 1, 2010, 7:17 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(-)
Stefan Hajnoczi - Dec. 2, 2010, 10:20 a.m.
On Wed, Dec 1, 2010 at 7:17 PM, Alexander Graf <agraf@suse.de> wrote:
> 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(-)

Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

Patch

diff --git a/hw/pci.h b/hw/pci.h
index 09b3e4c..63c1015 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