From fb0880c9fc00c51609edc1a082a3cd457a5ea25f Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 13 Aug 2014 07:45:37 +0000 Subject: [PATCH] match on Intel 9 series and 9 series LP PCH, and add 8 series KT to puc ok millert@ --- sys/dev/pci/azalia.c | 4 +++- sys/dev/pci/ichiic.c | 4 +++- sys/dev/pci/pciide.c | 10 +++++++++- sys/dev/pci/pucdata.c | 39 ++++++++++++++++++++++++++++++--------- 4 files changed, 45 insertions(+), 12 deletions(-) diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 9eaa4a16815..de33d09ee47 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.215 2014/07/13 23:10:23 deraadt Exp $ */ +/* $OpenBSD: azalia.c,v 1.216 2014/08/13 07:45:37 jsg Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -463,6 +463,8 @@ azalia_configure_pci(azalia_t *az) case PCI_PRODUCT_INTEL_7SERIES_HDA: case PCI_PRODUCT_INTEL_8SERIES_HDA: case PCI_PRODUCT_INTEL_8SERIES_LP_HDA: + case PCI_PRODUCT_INTEL_9SERIES_HDA: + case PCI_PRODUCT_INTEL_9SERIES_LP_HDA: reg = azalia_pci_read(az->pc, az->tag, INTEL_PCIE_NOSNOOP_REG); reg &= INTEL_PCIE_NOSNOOP_MASK; diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c index 21fe56eaa11..7d412ddbba5 100644 --- a/sys/dev/pci/ichiic.c +++ b/sys/dev/pci/ichiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ichiic.c,v 1.33 2014/03/10 02:31:12 jsg Exp $ */ +/* $OpenBSD: ichiic.c,v 1.34 2014/08/13 07:45:37 jsg Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko @@ -92,6 +92,8 @@ const struct pci_matchid ichiic_ids[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_7SERIES_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8SERIES_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8SERIES_LP_SMB }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_9SERIES_SMB }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_9SERIES_LP_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801AA_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801AB_SMB }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801BA_SMB }, diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 5ee86324f8e..b89db97499a 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.347 2014/07/13 23:19:51 sasano Exp $ */ +/* $OpenBSD: pciide.c,v 1.348 2014/08/13 07:45:37 jsg Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -625,6 +625,14 @@ const struct pciide_product_desc pciide_intel_products[] = { 0, piixsata_chip_map }, + { PCI_PRODUCT_INTEL_9SERIES_SATA_1, /* Intel 9 Series SATA */ + 0, + piixsata_chip_map + }, + { PCI_PRODUCT_INTEL_9SERIES_SATA_2, /* Intel 9 Series SATA */ + 0, + piixsata_chip_map + }, { PCI_PRODUCT_INTEL_ATOMC2000_SATA_1, /* Intel Atom C2000 SATA */ 0, piixsata_chip_map diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c index 45a45865d54..0a7d08a7bf3 100644 --- a/sys/dev/pci/pucdata.c +++ b/sys/dev/pci/pucdata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pucdata.c,v 1.92 2014/02/02 19:25:41 miod Exp $ */ +/* $OpenBSD: pucdata.c,v 1.93 2014/08/13 07:45:37 jsg Exp $ */ /* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */ /* @@ -55,13 +55,41 @@ const struct puc_device_description puc_devs[] = { { PUC_COM_POW2(0), 0x10, 0x0000 }, }, }, - { /* Series KT */ + { /* 7 Series KT */ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_7SERIES_KT, 0x0000, 0x0000 }, { 0xffff, 0xffff, 0x0000, 0x0000 }, { { PUC_COM_POW2(0), 0x10, 0x0000 }, }, }, + { /* 8 Series KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8SERIES_KT, 0x0000, 0x0000 }, + { 0xffff, 0xffff, 0x0000, 0x0000 }, + { + { PUC_COM_POW2(0), 0x10, 0x0000 }, + }, + }, + { /* 8 Series LP KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8SERIES_LP_KT, 0x0000, 0x0000 }, + { 0xffff, 0xffff, 0x0000, 0x0000 }, + { + { PUC_COM_POW2(0), 0x10, 0x0000 }, + }, + }, + { /* 9 Series KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_9SERIES_KT, 0x0000, 0x0000 }, + { 0xffff, 0xffff, 0x0000, 0x0000 }, + { + { PUC_COM_POW2(0), 0x10, 0x0000 }, + }, + }, + { /* 9 Series LP KT */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_9SERIES_LP_KT, 0x0000, 0x0000 }, + { 0xffff, 0xffff, 0x0000, 0x0000 }, + { + { PUC_COM_POW2(0), 0x10, 0x0000 }, + }, + }, { /* 82946GZ KT */ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82946GZ_KT, 0x0000, 0x0000 }, { 0xffff, 0xffff, 0x0000, 0x0000 }, @@ -146,13 +174,6 @@ const struct puc_device_description puc_devs[] = { { PUC_COM_POW2(0), 0x10, 0x0000 }, }, }, - { /* 8 Series KT */ - { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8SERIES_KT, 0x0000, 0x0000 }, - { 0xffff, 0xffff, 0x0000, 0x0000 }, - { - { PUC_COM_POW2(0), 0x10, 0x0000 }, - }, - }, { /* Intel EG20T */ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EG20T_SERIAL_1, 0x0000, 0x0000 }, { 0xffff, 0xffff, 0x0000, 0x0000 }, -- 2.20.1