Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Add VIA VT8233A support (at Ultra/100 until some...



details:   https://anonhg.NetBSD.org/src/rev/649fa1d9cca5
branches:  trunk
changeset: 534354:649fa1d9cca5
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon Jul 22 20:51:02 2002 +0000

description:
Add VIA VT8233A support (at Ultra/100 until someone can test 133 for me).
>From Ryo HAYASAKA, PR kern/17206.

diffstat:

 sys/dev/pci/pciide.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 52968697600d -r 649fa1d9cca5 sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c      Mon Jul 22 20:31:56 2002 +0000
+++ b/sys/dev/pci/pciide.c      Mon Jul 22 20:51:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide.c,v 1.158 2002/06/10 08:41:11 cjs Exp $ */
+/*     $NetBSD: pciide.c,v 1.159 2002/07/22 20:51:02 bouyer Exp $      */
 
 
 /*
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.158 2002/06/10 08:41:11 cjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.159 2002/07/22 20:51:02 bouyer Exp $");
 
 #ifndef WDCDEBUG
 #define WDCDEBUG
@@ -2183,6 +2183,11 @@
                printf("VT8233A ATA100 controller\n");
                sc->sc_wdcdev.UDMA_cap = 5;
                break;
+       case PCI_PRODUCT_VIATECH_VT8233A:
+               printf("VT8233A ATA133 controller\n");
+               /* XXX use ATA100 untill ATA133 is supported */
+               sc->sc_wdcdev.UDMA_cap = 5;
+               break;
        default:
                printf("unknown ATA controller\n");
                sc->sc_wdcdev.UDMA_cap = 0;



Home | Main Index | Thread Index | Old Index