summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2009-06-26 02:46:28 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2009-06-26 02:46:28 +0000
commit3af4bc771e4e9023280fcfc34bdbba2e15b0429f (patch)
tree112a1f220bdb5b44fb8fadbd63e40d377f6bab5b /sys/dev/pci/pciide.c
parent256e16c8c98c507e33ebb0606c15a900b94bde60 (diff)
add the VIA VX855 chipset
ok deraadt@
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index d04fb19a0e6..68cc540df59 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.295 2009/05/31 04:42:16 jsg Exp $ */
+/* $OpenBSD: pciide.c,v 1.296 2009/06/26 02:46:27 kevlo Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -642,6 +642,10 @@ const struct pciide_product_desc pciide_via_products[] = {
0,
apollo_chip_map
},
+ { PCI_PRODUCT_VIATECH_VX855_IDE, /* VIA VX855 IDE */
+ 0,
+ apollo_chip_map
+ },
{ PCI_PRODUCT_VIATECH_VT6420_SATA, /* VIA VT6420 SATA */
0,
sata_chip_map
@@ -3050,7 +3054,8 @@ 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_CX700_IDE) ||
- (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VX700_IDE)) {
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VX700_IDE) ||
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VX855_IDE)) {
printf(": ATA133");
sc->sc_wdcdev.UDMA_cap = 6;
} else {