summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-09-16 00:39:55 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-09-16 00:39:55 +0000
commit3f88a0760860bcd843584d0fb3a413e649e049e3 (patch)
tree3339a86eec8a94da8d759cfc43396847429f8114
parentcb2fa4ddaa5b9592222c5fb5fe5bd8fd488532f5 (diff)
Match VIA VT8237A SATA which while untested should act like
the older VIA SATA devices for our purposes going by FreeBSD. ok deraadt@
-rw-r--r--share/man/man4/pciide.44
-rw-r--r--sys/dev/pci/pciide.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/share/man/man4/pciide.4 b/share/man/man4/pciide.4
index 88d511caf62..e903008b042 100644
--- a/share/man/man4/pciide.4
+++ b/share/man/man4/pciide.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pciide.4,v 1.67 2006/08/19 17:59:00 jsg Exp $
+.\" $OpenBSD: pciide.4,v 1.68 2006/09/16 00:39:54 jsg Exp $
.\" $NetBSD: pciide.4,v 1.8 1999/03/16 01:19:17 garbled Exp $
.\"
.\" Copyright (c) 1998 Manuel Bouyer.
@@ -111,7 +111,7 @@ Silicon Integrated System 180, 181, 5513 (5597/5598), 540, 550,
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, VT8251, VT6410
+VT8233, VT8235, VT8237, VT8237A, VT8251, VT6410
.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 cde797620f7..8d25daaff43 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.252 2006/08/19 17:59:00 jsg Exp $ */
+/* $OpenBSD: pciide.c,v 1.253 2006/09/16 00:39:54 jsg Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -596,6 +596,10 @@ const struct pciide_product_desc pciide_via_products[] = {
IDE_PCI_CLASS_OVERRIDE,
sata_chip_map
},
+ { PCI_PRODUCT_VIATECH_VT8237A_SATA, /* VIA VT8237A SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ sata_chip_map
+ },
{ PCI_PRODUCT_VIATECH_VT8251_SATA, /* VIA VT8251 SATA */
IDE_PCI_CLASS_OVERRIDE,
sata_chip_map