summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2007-10-17 22:11:52 +0000
committerbrad <brad@openbsd.org>2007-10-17 22:11:52 +0000
commit09e7fbc8ec014b04b4de4f7e1f7805a17a75ae4d (patch)
tree1325a284e49c0aa13b618c79f99e2aec14352bd4
parentAdd the Intel ICH9 chipset. (diff)
downloadwireguard-openbsd-09e7fbc8ec014b04b4de4f7e1f7805a17a75ae4d.tar.xz
wireguard-openbsd-09e7fbc8ec014b04b4de4f7e1f7805a17a75ae4d.zip
Add the Intel ICH9 chipset.
Tested by damien@ ok dlg@
-rw-r--r--share/man/man4/pciide.46
-rw-r--r--sys/arch/i386/pci/ichpcib.c8
-rw-r--r--sys/arch/i386/pci/pci_intr_fixup.c10
-rw-r--r--sys/dev/pci/pciide.c26
4 files changed, 43 insertions, 7 deletions
diff --git a/share/man/man4/pciide.4 b/share/man/man4/pciide.4
index df81ffa7357..8299537ef57 100644
--- a/share/man/man4/pciide.4
+++ b/share/man/man4/pciide.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pciide.4,v 1.76 2007/09/14 23:19:34 brad Exp $
+.\" $OpenBSD: pciide.4,v 1.77 2007/10/17 22:11:52 brad Exp $
.\" $NetBSD: pciide.4,v 1.8 1999/03/16 01:19:17 garbled Exp $
.\"
.\" Copyright (c) 1998 Manuel Bouyer.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 14 2007 $
+.Dd $Mdocdate: October 17 2007 $
.Dt PCIIDE 4
.Os
.Sh NAME
@@ -85,7 +85,7 @@ Intel PIIX, PIIX3, and PIIX4
.It
Intel 82801
(ICH/ICH0/ICH2/ICH3/ICH4/ICH4-M/ICH5/ICH5R/\&
-ICH6/ICH6M/ICH6R/ICH7/ICH7M/ICH7R/ICH7M DH/ICH8/ICH8M)
+ICH6/ICH6M/ICH6R/ICH7/ICH7M/ICH7R/ICH7M DH/ICH8/ICH8M/ICH9/ICH9M)
.It
Intel 6300ESB/6321ESB
.It
diff --git a/sys/arch/i386/pci/ichpcib.c b/sys/arch/i386/pci/ichpcib.c
index d7dfd822862..bde0b5fc35b 100644
--- a/sys/arch/i386/pci/ichpcib.c
+++ b/sys/arch/i386/pci/ichpcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ichpcib.c,v 1.20 2007/09/07 05:32:38 gwk Exp $ */
+/* $OpenBSD: ichpcib.c,v 1.21 2007/10/17 22:13:56 brad Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
@@ -106,7 +106,11 @@ const struct pci_matchid ichpcib_devices[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801GH_LPC },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801GHM_LPC },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801H_LPC },
- { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801HBM_LPC }
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801HBM_LPC },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IB_LPC },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IH_LPC },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IO_LPC },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IR_LPC }
};
int
diff --git a/sys/arch/i386/pci/pci_intr_fixup.c b/sys/arch/i386/pci/pci_intr_fixup.c
index 9bd05575879..f6974a798ed 100644
--- a/sys/arch/i386/pci/pci_intr_fixup.c
+++ b/sys/arch/i386/pci/pci_intr_fixup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_intr_fixup.c,v 1.58 2007/09/07 15:00:19 art Exp $ */
+/* $OpenBSD: pci_intr_fixup.c,v 1.59 2007/10/17 22:14:41 brad Exp $ */
/* $NetBSD: pci_intr_fixup.c,v 1.10 2000/08/10 21:18:27 soda Exp $ */
/*
@@ -181,6 +181,14 @@ const struct pciintr_icu_table {
piix_init },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801GHM_LPC,
piix_init },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IB_LPC,
+ piix_init },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IH_LPC,
+ piix_init },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IO_LPC,
+ piix_init },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801IR_LPC,
+ piix_init },
{ PCI_VENDOR_OPTI, PCI_PRODUCT_OPTI_82C558,
opti82c558_init },
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index ef8308a382e..a191b2f9fc4 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.274 2007/10/09 23:26:05 krw Exp $ */
+/* $OpenBSD: pciide.c,v 1.275 2007/10/17 22:11:52 brad Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -499,6 +499,30 @@ const struct pciide_product_desc pciide_intel_products[] = {
0,
piix_chip_map
},
+ { PCI_PRODUCT_INTEL_82801I_SATA_1, /* Intel 82801I (ICH9) SATA */
+ 0,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801I_SATA_2, /* Intel 82801I (ICH9) SATA */
+ 0,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801I_SATA_3, /* Intel 82801I (ICH9) SATA */
+ 0,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801I_SATA_4, /* Intel 82801I (ICH9) SATA */
+ 0,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801I_SATA_5, /* Intel 82801I (ICH9M) SATA */
+ 0,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801I_SATA_6, /* Intel 82801I (ICH9M) SATA */
+ 0,
+ piixsata_chip_map
+ },
{ PCI_PRODUCT_INTEL_6321ESB_SATA, /* Intel 6321ESB SATA */
0,
piixsata_chip_map