summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2011-04-14 22:24:35 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2011-04-14 22:24:35 +0000
commitaa8d852e3859a12cf274f2a0baf898ec4c4e2138 (patch)
tree1b6d0d613341fdc143afebf3a0710fb2b393084e /sys/dev/pci
parent47857cdb43c7ee4fcac3acfb6347167434c4a98f (diff)
add support for VIA VT6415 & VX900 IDE
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pciide.c14
1 files changed, 12 insertions, 2 deletions
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 {