diff options
-rw-r--r-- | share/man/man4/pciide.4 | 8 | ||||
-rw-r--r-- | sys/dev/pci/pciide.c | 9 |
2 files changed, 11 insertions, 6 deletions
diff --git a/share/man/man4/pciide.4 b/share/man/man4/pciide.4 index cb22a98cd27..4d276f7444a 100644 --- a/share/man/man4/pciide.4 +++ b/share/man/man4/pciide.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pciide.4,v 1.71 2007/05/31 19:19:51 jmc Exp $ +.\" $OpenBSD: pciide.4,v 1.72 2007/06/20 04:10:59 jsg 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: May 31 2007 $ +.Dd $Mdocdate: June 20 2007 $ .Dt PCIIDE 4 .Os .Sh NAME @@ -113,8 +113,8 @@ Silicon Integrated System 180, 181, 5513 (5597/5598), 540, 550, 620, 630, 630S, 633, 635, 640, 645, 645DX, 648, 650, 651, 652, 655, 658, 661, 730, 733, 735, 740, 745, 746, 748, 750, 751, 752, 755, 760, 962, 963 .It -VIA Technologies VT82C586/A/B, VT82C596A/B, VT82C686A/B, VT8231, VT8366, -VT8233, VT8235, VT8237, VT8237A, VT8251, VT6410 +VIA Technologies CX700, VT82C586/A/B, VT82C596A/B, VT82C686A/B, VT8231, VT8366, +VT8233, VT8235, VT8237, VT8237A, VT8251, VT6410, VX700 .El .Pp Some of these controllers are only available in multifunction PCI chips. diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 29b61509012..10dc03f6abb 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.269 2007/06/02 18:44:44 jsg Exp $ */ +/* $OpenBSD: pciide.c,v 1.270 2007/06/20 04:10:59 jsg Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -602,6 +602,10 @@ const struct pciide_product_desc pciide_via_products[] = { IDE_PCI_CLASS_OVERRIDE, apollo_chip_map }, + { PCI_PRODUCT_VIATECH_CX700_IDE, /* VIA CX700 IDE */ + 0, + apollo_chip_map + }, { PCI_PRODUCT_VIATECH_VT6420_SATA, /* VIA VT6420 SATA */ IDE_PCI_CLASS_OVERRIDE, sata_chip_map @@ -2965,7 +2969,8 @@ apollo_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa) PCIIDE_INTERFACE_PCI(0) | PCIIDE_INTERFACE_PCI(1); } - if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT6410) { + if ((PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT6410) || + (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_CX700_IDE)) { printf(": ATA133"); sc->sc_wdcdev.UDMA_cap = 6; } else { |