From aa8d852e3859a12cf274f2a0baf898ec4c4e2138 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 14 Apr 2011 22:24:35 +0000 Subject: add support for VIA VT6415 & VX900 IDE --- sys/dev/pci/pciide.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/pciide.c') diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index b9c4572cd85..a53c91d76e3 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.325 2011/04/07 14:56:38 miod Exp $ */ +/* $OpenBSD: pciide.c,v 1.326 2011/04/14 22:24:34 jsg Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -664,6 +664,10 @@ const struct pciide_product_desc pciide_via_products[] = { IDE_PCI_CLASS_OVERRIDE, apollo_chip_map }, + { PCI_PRODUCT_VIATECH_VT6415, /* VIA VT6415 IDE */ + IDE_PCI_CLASS_OVERRIDE, + apollo_chip_map + }, { PCI_PRODUCT_VIATECH_CX700_IDE, /* VIA CX700 IDE */ 0, apollo_chip_map @@ -676,6 +680,10 @@ const struct pciide_product_desc pciide_via_products[] = { 0, apollo_chip_map }, + { PCI_PRODUCT_VIATECH_VX900_IDE, /* VIA VX900 IDE */ + 0, + apollo_chip_map + }, { PCI_PRODUCT_VIATECH_VT6420_SATA, /* VIA VT6420 SATA */ 0, sata_chip_map @@ -3317,9 +3325,11 @@ apollo_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa) } if ((PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT6410) || + (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT6415) || (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_CX700_IDE) || (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VX700_IDE) || - (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VX855_IDE)) { + (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VX855_IDE) || + (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VX900_IDE)) { printf(": ATA133"); sc->sc_wdcdev.UDMA_cap = 6; } else { -- cgit v1.2.3