summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/pciide.45
-rw-r--r--sys/dev/pci/pciide.c20
2 files changed, 22 insertions, 3 deletions
diff --git a/share/man/man4/pciide.4 b/share/man/man4/pciide.4
index 0db0b2d40cf..2c97849546f 100644
--- a/share/man/man4/pciide.4
+++ b/share/man/man4/pciide.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pciide.4,v 1.64 2006/06/24 07:51:30 jsg Exp $
+.\" $OpenBSD: pciide.4,v 1.65 2006/07/16 13:24:14 jsg Exp $
.\" $NetBSD: pciide.4,v 1.8 1999/03/16 01:19:17 garbled Exp $
.\"
.\" Copyright (c) 1998 Manuel Bouyer.
@@ -99,7 +99,8 @@ NVIDIA nForce/nForce2/nForce2-400/nForce3/nForce3-250/nForce4
Promise PDC20246, PDC20262, PDC20265, PDC20267, PDC20268, PDC20268R,
PDC20269, PDC20271, PDC20275, PDC20276, PDC20277, PDC20318, PDC20319,
PDC20371, PDC20375, PDC20376, PDC20377, PDC20378, PDC20379, PDC20571,
-PDC20575, PDC20579, PDC20775, PDC40518, PDC40718, PDC40719
+PDC20575, PDC20579, PDC20771, PDC20775, PDC40518, PDC40519, PDC40718,
+PDC40719, PDC40779
.It
ServerWorks SATA, OSB4, CSB5, CSB6 (including support for the third channel)
.It
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 65c62e19a76..93b3af9d516 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.247 2006/07/10 21:28:29 deraadt Exp $ */
+/* $OpenBSD: pciide.c,v 1.248 2006/07/16 13:24:14 jsg Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -718,6 +718,10 @@ const struct pciide_product_desc pciide_promise_products[] = {
IDE_PCI_CLASS_OVERRIDE,
pdcsata_chip_map,
},
+ { PCI_PRODUCT_PROMISE_PDC40519,
+ IDE_PCI_CLASS_OVERRIDE,
+ pdcsata_chip_map,
+ },
{ PCI_PRODUCT_PROMISE_PDC40718,
IDE_PCI_CLASS_OVERRIDE,
pdcsata_chip_map,
@@ -726,6 +730,10 @@ const struct pciide_product_desc pciide_promise_products[] = {
IDE_PCI_CLASS_OVERRIDE,
pdcsata_chip_map,
},
+ { PCI_PRODUCT_PROMISE_PDC40779,
+ IDE_PCI_CLASS_OVERRIDE,
+ pdcsata_chip_map,
+ },
{ PCI_PRODUCT_PROMISE_PDC20571,
IDE_PCI_CLASS_OVERRIDE,
pdcsata_chip_map,
@@ -738,6 +746,10 @@ const struct pciide_product_desc pciide_promise_products[] = {
IDE_PCI_CLASS_OVERRIDE,
pdcsata_chip_map,
},
+ { PCI_PRODUCT_PROMISE_PDC20771,
+ IDE_PCI_CLASS_OVERRIDE,
+ pdcsata_chip_map,
+ },
{ PCI_PRODUCT_PROMISE_PDC20775,
IDE_PCI_CLASS_OVERRIDE,
pdcsata_chip_map,
@@ -6235,11 +6247,14 @@ pdcsata_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa)
break;
case PCI_PRODUCT_PROMISE_PDC40518:
+ case PCI_PRODUCT_PROMISE_PDC40519:
case PCI_PRODUCT_PROMISE_PDC40718:
case PCI_PRODUCT_PROMISE_PDC40719:
+ case PCI_PRODUCT_PROMISE_PDC40779:
case PCI_PRODUCT_PROMISE_PDC20571:
case PCI_PRODUCT_PROMISE_PDC20575:
case PCI_PRODUCT_PROMISE_PDC20579:
+ case PCI_PRODUCT_PROMISE_PDC20771:
case PCI_PRODUCT_PROMISE_PDC20775:
sc->sc_pci_ih = pci_intr_establish(pa->pa_pc,
intrhandle, IPL_BIO, pdc205xx_pci_intr, sc,
@@ -6304,8 +6319,10 @@ pdcsata_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa)
break;
case PCI_PRODUCT_PROMISE_PDC40518:
+ case PCI_PRODUCT_PROMISE_PDC40519:
case PCI_PRODUCT_PROMISE_PDC40718:
case PCI_PRODUCT_PROMISE_PDC40719:
+ case PCI_PRODUCT_PROMISE_PDC40779:
case PCI_PRODUCT_PROMISE_PDC20571:
bus_space_write_4(ps->ba5_st, ps->ba5_sh, 0x60, 0x00ff00ff);
sc->sc_wdcdev.nchannels = PDC40718_NCHANNELS;
@@ -6316,6 +6333,7 @@ pdcsata_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa)
break;
case PCI_PRODUCT_PROMISE_PDC20575:
case PCI_PRODUCT_PROMISE_PDC20579:
+ case PCI_PRODUCT_PROMISE_PDC20771:
case PCI_PRODUCT_PROMISE_PDC20775:
bus_space_write_4(ps->ba5_st, ps->ba5_sh, 0x60, 0x00ff00ff);
sc->sc_wdcdev.nchannels = PDC20575_NCHANNELS;