summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2002-12-10 11:47:48 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2002-12-10 11:47:48 +0000
commite86290274f6277858d1f077b750d4794bae6b48a (patch)
tree65ed0bbb9beaa3442608dd3ae8084d960f26cf8d /sys
parent2457b7eca6148050cc1cc360e58d0f75cfe9b2ec (diff)
Add support for VIA VT8231; from NetBSD, untested.
ok gluk@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pciide.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index acd1865f818..f9984e6e371 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.100 2002/11/24 19:39:19 grange Exp $ */
+/* $OpenBSD: pciide.c,v 1.101 2002/12/10 11:47:47 grange Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -2244,6 +2244,10 @@ apollo_chip_map(sc, pa)
sc->sc_wdcdev.UDMA_cap = 4;
}
break;
+ case PCI_PRODUCT_VIATECH_VT8231_ISA:
+ printf(": ATA100");
+ sc->sc_wdcdev.UDMA_cap = 5;
+ break;
case PCI_PRODUCT_VIATECH_VT8366_ISA:
printf(": ATA100");
sc->sc_wdcdev.UDMA_cap = 5;